Cannot load editor in Safari: SyntaxError: Invalid regular expression: invalid group specifier name
See original GitHub issueAs of yesterday, https://vega.github.io/editor/ doesn’t load in Safari Version 14.0.2 (16610.3.7.1.9) on macOS 11.1 (20C69). It works fine on Chrome and Firefox on macOS. The error in the console is:
[Error] SyntaxError: Invalid regular expression: invalid group specifier name
(anonymous function) (vendor.js:88)
I don’t know anything about vendor.js
, but I’m guessing that some library implemented a regular expression that isn’t supported by WebKit (i.e., Safari): https://stackoverflow.com/questions/641407/javascript-negative-lookbehind-equivalent/50434875#50434875
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Works in Chrome, but breaks in Safari: Invalid regular ...
I had the same issue, and it turned out to be a RegEx expression in one of my dependencies, namely Discord.js . Luckily...
Read more >Safari will not load React App. Invalid regular expression
The error concern "Invalid regular expression: invalid group specifier name". A google search revealed that Safari does not support all ...
Read more >SyntaxError: invalid regular expression flag "x" - MDN Web Docs
The JavaScript exception "invalid regular expression flag" occurs when the flags in a regular expression contain any flag that is not one ...
Read more >Regex works in chrome, but breaks in safari: invalid regular ...
[Solved] Regex works in chrome, but breaks in safari: invalid regular expression: invalid group specifier name - CodeProject.
Read more >Angular SyntaxError - Apple Developer
Angular SyntaxError: SyntaxError: Invalid regular expression: invalid group specifier name.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed in 0.92.1
Oh, I think it was https://github.com/react-monaco-editor/react-monaco-editor/issues/322