Opened 14 years ago
Closed 13 years ago
#3698 closed enhancement (fixed)
Selector enhancement
Reported by: | shazam | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.3 |
Component: | selector | Version: | 1.2.6 |
Keywords: | ~= operator regexp | Cc: | shazam |
Blocked by: | Blocking: |
Description
Enhance ~= operator (which is supported but not documented and works exactly like *= operator) so that it can handle regular expressions.
It works fine, the diff is attached
Attachments (1)
Change History (9)
Changed 14 years ago by
Attachment: | selector.diff added |
---|
comment:2 Changed 14 years ago by
...It works fine as long as you don't use '/' caracter in pattern...
comment:4 Changed 14 years ago by
Do you mean "by design"? I don't think so! Or, please, tell me how to do.
Being able to match attributes values with a regular expression might be very useful in XML parsing.
I think you misunderstood my post.
comment:5 Changed 14 years ago by
Cc: | shazam added |
---|
I think this was requested in the past at jquery-dev. Can you ask for feedback at jQuery's google group ?
Then we'll see. You can link to this ticket if you will.
comment:6 Changed 14 years ago by
Type: | bug → enhancement |
---|
comment:7 Changed 14 years ago by
This ticket might now be closed as it targetted jQuery1.2.6.
A new ticket with a new diff is opened for jQuery1.3.1 http://dev.jquery.com/ticket/3951
comment:8 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
The word-match feature was added/fixed in 1.3. The RegExp feature is left for enhancement #3951.
diff based on rev 5962