The string unexpectedly ended at position 48: ".. option:not(:contains('Select'>>)<<" #66
Closed
Description
Hi,
I'm hoping to find out if nesting filter expressions is allowed, and if if so if this is a bug below or I'm writing it wrong. It is working correctly in jQuery.
Html:
<select name="size" class="text" style="width:150px;" dropsection="main" dropgroup="main" droptype="size"><option value="">Select Size</option><option value="XS">XS</option><option value="S">S</option><option value="M">M</option><option value="L">L</option></select>
Css Expression:
"select[name~=size] option:not(*:contains('Select'))"
Message:
The string unexpectedly ended at position 48: ".. option:not(:contains('Select'>>)<<"
Stack:
at CsQuery.StringScanner.Implementation.StringScannerEngine.ThrowException(String message, Int32 errPos)
at CsQuery.StringScanner.Implementation.StringScannerEngine.ExpectImpl(IExpectPattern pattern)
at CsQuery.StringScanner.Implementation.StringScannerEngine.GetBoundedBy(Char bound, Boolean allowQuoting)
at CsQuery.Engine.SelectorParser.AddPseudoSelector(String key)
at CsQuery.Engine.SelectorParser.Parse(String selector)
at CsQuery.CQ.Find(String selector)