Unsupported regex for Dart in Safari
See original GitHub issuemonaco-editor version: 0.21.0 Browser: Safari Version 14.0 (15610.1.28.1.9, 15610) OS: MacOS Catalina
Hello team,
Hesitating to report this in vscode, but because vscode runs in a recent webkit not sure it’s an issue.
Some languages use unsupported regex that breaks Safari. dart
for example.
You can reproduce by going to the playground and pick “dart” languages.
It will throw an error in the console SyntaxError: Invalid regular expression: invalid group specifier name
Best Regards
Issue Analytics
- State:
- Created 3 years ago
- Reactions:7
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Convert Regex to be safari compliant - Stack Overflow
Question: How can I maintain this logic without using non Safari supported Regex using Dart. Code Example var regex = RegExp( ...
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 >"regular expression" | Can I use... Support tables for ... - CanIUse
"Can I use" provides up-to-date browser support tables for support of front-end web technologies on desktop and mobile web browsers.
Read more >SyntaxError: unterminated string literal - JavaScript | MDN
The JavaScript error "unterminated string literal" occurs when there is an unterminated string literal somewhere. String literals must be enclosed by single ...
Read more >RegExp class - dart:core library - Dart API
A regular expression pattern. Regular expressions are Patterns, and can as such be used to match strings or parts of strings. Dart regular...
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 Free
Top 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
Can you update the NPM package as soon as possible?
Fixed via https://github.com/microsoft/monaco-languages/pull/121