Bug Tracker

Opened 11 years ago

Closed 11 years ago

#11582 closed bug (invalid)

regexp case typo

Reported by: [email protected] Owned by:
Priority: low Milestone: None
Component: misc Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:


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 (1)

comment:1 Changed 11 years ago by sindresorhus

Component: unfiledmisc
Priority: undecidedlow
Resolution: invalid
Status: newclosed

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

Note: See TracTickets for help on using tickets.