I reckon there is a little bug in :not( selector ).
CQ dom = CQ.CreateFromUrl("http://www.franchisebusiness.com.au/c/ABS-Auto-Brake-Service");
CQ items = dom.Select(".items:not(.relatedListingsContainer .items)");
int itemLength = items.Length; // itemLength = 2
----jQuery----: (I directly tested from Google Chrome's console panel):
var items = $(".items:not(.relatedListingsContainer .items)");
var itemLength = items.length; // itemLength = 0
How come "itemLength" is different on jQuery and csQuery? or How am I gonna get similar result using csQuery?
Oh right.... Struck that last comment... yes, appears to be a bug. Will get it fixed soon.
Fix for Issue #51
Fixed in latest push. Turned out to be a pretty nasty problem, I had a fundamental implementation issue with subselectors that for some reason were not addressed in any existing test case. Glad this got found this before I released 1.3!
Release 1.3 now on nuget includes this fix