Skip to main content

Bug Tracker

Side navigation

#3698 closed enhancement (fixed)

Opened December 08, 2008 09:40AM UTC

Closed July 26, 2010 12:56AM UTC

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:

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)
  • selector.diff (1.2 KB) - added by shazam December 08, 2008 09:40AM UTC.

    diff based on rev 5962

Change History (8)

Changed December 08, 2008 09:42AM UTC by shazam comment:1

Needs type change from bug to enhancement... sorry

Changed December 08, 2008 09:53AM UTC by shazam comment:2

...It works fine as long as you don't use '/' caracter in pattern...

Changed December 08, 2008 03:14PM UTC by cloudream comment:3

By designed.

And won't fixes in 1.3

Changed December 08, 2008 07:43PM UTC by shazam comment:4

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.

Changed December 11, 2008 12:37PM UTC by flesler comment:5

cc: → shazam

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.

Changed January 17, 2009 08:08PM UTC by kswedberg comment:6

type: bugenhancement

Changed February 02, 2009 07:44AM UTC by shazam comment:7

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

Changed July 26, 2010 12:56AM UTC by dmethvin comment:8

resolution: → fixed
status: newclosed

The word-match feature was added/fixed in 1.3. The RegExp feature is left for enhancement #3951.