Modify ↓
Ticket #11582 (closed bug: invalid)
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
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

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