Closed Bug 813249 Opened 13 years ago Closed 11 years ago

Regular expressions with [a-\\s] (and possibly others) throw exceptions

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: anton, Unassigned)

Details

Code: var re = new RegExp("[a-\\s"); // (or \\d, \\w,..) Expected result: A regular expression object with `/[a-\s]/` as its value. Actual result: Exception: invalid range in character class. Other platforms: * Chrome: OK. * Safari: OK. * Opera: OK. * IE: not verified.
Assignee: general → nobody
Blocks: 1093217
This works now, perhaps since the move to irregexp, perhaps because of other changes.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
No longer blocks: 1093217
You need to log in before you can comment on or make changes to this bug.