Bug Tracker

Opened 13 years ago

Closed 12 years ago

Last modified 11 years ago

#1084 closed bug (fixed)

jQuery.find can't handle underscores in nodeNames

Reported by: tcooijmans Owned by: john
Priority: major Milestone: 1.1.4
Component: core Version: 1.1.3
Keywords: Cc:
Blocked by: Blocking:

Description (last modified by brandon)

Due to a broken regular expression in jQuery.find, the find expression is parsed incorrectly. Nodes with underscores in their names won't be found (because jQuery will look only for the part before the first underscore).

It's just one character, but I'm attaching a diff anyway.

Attachments (1)

selector.js.diff (1008 bytes) - added by john 13 years ago.
It's never just one character ;-) this patch makes sure that there's total coverage of the tag names and the ability to use both underscores and unicode.

Download all attachments as: .zip

Change History (8)

Changed 13 years ago by john

Attachment: selector.js.diff added

It's never just one character ;-) this patch makes sure that there's total coverage of the tag names and the ability to use both underscores and unicode.

comment:1 Changed 13 years ago by brandon

need: CommitTest Case

comment:2 Changed 13 years ago by john

Resolution: fixed
Status: newclosed

Fixed in SVN rev [1810].

comment:3 Changed 13 years ago by brandon

Description: modified (diff)
need: Test CasePatch
Resolution: fixed
Status: closedreopened

The test for this is failing in Opera.

comment:4 Changed 12 years ago by john

Milestone: 1.1.31.1.4
Resolution: fixed
Status: reopenedclosed
Version: 1.1.21.1.3

This was resolved.

comment:5 Changed 12 years ago by john

Resolution: fixed
Status: closedreopened

comment:6 Changed 12 years ago by john

Owner: set to john
Status: reopenednew

Oops, still fails in the test suite.

comment:7 Changed 12 years ago by john

Resolution: fixed
Status: newclosed

Fixed in SVN rev [2522].

Note: See TracTickets for help on using tickets.