Skip to main content

Bug Tracker

Side navigation

#11582 closed bug (invalid)

Opened April 11, 2012 05:04PM UTC

Closed April 11, 2012 05:44PM UTC

regexp case typo

Reported by: joel@joelkang.com 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"),
Attachments (0)
Change History (1)

Changed April 11, 2012 05:44PM UTC by sindresorhus comment:1

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.