How does one do, with the kotlin regex (common stdlib) the same as the java Matcher.lookingAt method?
Currently it’s impractical to provide lookingAt
in JS backend: vanilla JS lacks such API so it would require to reimplement regex engine from scratch there. Therefore we do not have this operation in common stdlib.
Although, we could consider providing lookingAt
in the common subset of API between Kotlin/JVM and Kotlin/Native.