Bug Tracker

Opened 17 years ago

Closed 16 years ago

Last modified 16 years ago

#78 closed bug (worksforme)

contains() doesn't work with text with spaces

Reported by: john Owned by:
Priority: major Milestone: 1.0
Component: core Version: 1.0
Keywords: Cc:
Blocked by: Blocking:


The :contains() selector works well with most text but fails to find a match when it contains space characters. Can anyone provide a fix for matching text such as LI:contains('hello there') in markup such as <li>blah blah hello there blah</li> ? I have been uable to come up with a suitable fix for the RegEx myself

Change History (1)

comment:1 Changed 16 years ago by john

Resolution: worksforme
Status: newclosed

I created a test case for this and it works for me... must be related to something else.

Note: See TracTickets for help on using tickets.