Bug Tracker

Opened 6 years ago

Closed 5 years ago

Last modified 5 years ago

#6493 closed bug (duplicate)

Attribute Starts With Selector and Attribute Contains Selector does not work with escaped meta-characters in find()

Reported by: rockitbaby Owned by:
Priority: undecided Milestone:
Component: selector Version: 1.4.2
Keywords: find selector Cc:
Blocked by: Blocking:

Description (last modified by snover)

The Attribute Starts With Selector [name=value] and Attribute Contains Selector [name*=value] does not return any elements when used in the find() function and the value contains escaped meta-characters.

$('a[href^=\\#]').size() != $('body').find('a[href^=\\#]').size();

Test file is attached.

Change History (4)

comment:1 in reply to: ↑ description Changed 6 years ago by nathank

I have found the same problem. I need a fix for this ASAP. Thanks.

comment:2 Changed 5 years ago by snover

  • Milestone 1.4.3 deleted

Resetting milestone to future.

comment:3 Changed 5 years ago by snover

  • Description modified (diff)
  • Priority set to undecided
  • Resolution set to duplicate
  • Status changed from new to closed

comment:4 Changed 5 years ago by snover

Duplicate of #6093.

Note: See TracTickets for help on using tickets.