#3934 - Proper regexp parsing

Identifier #3934
Issue type Feature request or suggestion
Title Proper regexp parsing
Status Open
Tags

Type: Standards compliance (custom)

Handling member Deleted
Addon General / Uncategorised
Description We parse regexp's with the assumption that any '/' that is not escaped closes the regexp.

This seems like a reasonable assumption, but is not true within character class definitions (square brackets).

Currently we just enforce that even within character classes, slashes must be escaped.

Ideally the JS regexp parsing would be made smarter.
Steps to reproduce

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated