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 comment:1
| component: | unfiled → misc |
|---|---|
| priority: | undecided → low |
| resolution: | → invalid |
| status: | new → closed |
jQuery 1.7.2 has the same casing as your second example. Don't know how you got the first one.