Hi all, I am in kotlin `1.6.10` and using the Reg...
# multiplatform
i
Hi all, I am in kotlin
1.6.10
and using the Regex:
Copy code
Regex("^?(//(?<authority>((?<userinfo>[^/?#]*)@)?(?<host>(\\[[^\\]]*\\]|[^/?#:]*))(:(?<port>[^/?#]*))?))?(?<path>[^?#]*)(\\?(?<query>[^#]*))?(#(?<fragment>.*))?")
I am running into an issue running tests against js and nativ platforms: <stacktrace is below> The error points to the second
/
at the beginning
^?(//
of the expression. But I am not getting smarter from the error message
e
named groups are not supported on native: https://youtrack.jetbrains.com/issue/KT-41890
👌🏾 1
i
😄 thanks 😄