Closed
Bug 1544999
Opened 6 years ago
Closed 6 years ago
Regex lookbehind syntax fails to parse
Categories
(Firefox :: Untriaged, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1225665
People
(Reporter: saschanaz, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0
Steps to reproduce:
/(?<!a)b/.test('ab')
Actual results:
Should return false.
Expected results:
SyntaxError: invalid regexp group
The regex parses on Chrome but not on Firefox.
Reporter | ||
Updated•6 years ago
|
Summary: Regex lookahead syntax fails to parse → Regex lookbehind syntax fails to parse
Reporter | ||
Updated•6 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•