Bug Tracker

Opened 8 years ago

Closed 8 years ago

#11582 closed bug (invalid)

regexp case typo

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

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

comment:1 Changed 8 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.