/\n/.source === (new RegExp('\n')).source fails
Reported by
oyas...@gmail.com,
Jan 5
|
||||
Issue description
UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36
Steps to reproduce the problem:
1. In the js console, execute /\n/.source === (new RegExp('\n')).source
What is the expected behavior?
The js interpreter returns: true
What went wrong?
The js interpreter returns: false
Did this work before? N/A
Chrome version: 71.0.3578.98 Channel: stable
OS Version: OS X 10.14.2
Flash Version:
At least Safari and Firefox lack this issue.
,
Jan 5
,
Jan 5
,
Jan 6
I think this has been fixed.
,
Jan 7
Great! Verified fixed in Google Chrome Canary 73.0.3664.0, though broken in mainline Chrome 71.0.3578.98. |
||||
►
Sign in to add a comment |
||||
Comment 1 by woxxom@gmail.com
, Jan 5