Is there any way to disable the default regex flag...
# javascript
r
Is there any way to disable the default regex flags that Kotlin/js uses? The unicode flag is being automatically applied and is breaking expressions that are completely fine without it. Would I need to manually create javascript regexes and ditch the kotlin stdlib?
t
In border case you can use JS RegExp, which available in stdlib
e
Another option is to re-consider the expressions you're using and adapt them to be used in a Unicode scenario. This is why Unicode case was turned on by default https://youtrack.jetbrains.com/issue/KT-45928