Bug Tracker

Opened 14 years ago

Closed 14 years ago

#3793 closed bug (fixed)

CHILD regex bug

Reported by: balazs.endresz Owned by: john
Priority: major Milestone: 1.3
Component: selector Version: 1.2.6
Keywords: Cc:
Blocked by: Blocking:


$('li:not(:last-child)') fails: http://groups.google.com/group/jquery-dev/browse_thread/thread/30ea94cfd730ecdb

possible soluton:

Sizzle.selectors.match.CHILD should be:


instead of the current:


Change History (1)

comment:1 Changed 14 years ago by john

Resolution: fixed
Status: newclosed

Fixed here: http://github.com/jeresig/sizzle/commit/03f3935c1191b3bc23f138fb64ee65deb8c2797c Will land in the next merge with jQuery. Thanks for the tip!

Note: See TracTickets for help on using tickets.