Bug Tracker

Modify

Ticket #11582 (closed bug: invalid)

Opened 13 months ago

Last modified 13 months ago

regexp case typo

Reported by: joel@… Owned by:
Priority: low Milestone: None
Component: misc Version: 1.7.2
Keywords: Cc:
Blocking: Blocked by:

Description

Line 5744:

rnoshimcache = new regexp("<(?:" + nodeNames + ")[\\s/>]", "i"),

throws an error in Chrome for undefined regexp. Should be:

rnoshimcache = new RegExp("<(?:" + nodeNames + ")[\\s/>]", "i"),

Change History

comment:1 Changed 13 months ago by sindresorhus

  • Priority changed from undecided to low
  • Resolution set to invalid
  • Status changed from new to closed
  • Component changed from unfiled to misc

jQuery 1.7.2 has the same casing as your second example. Don't know how you got the first one.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.