Closed vanniktech closed 1 year ago
Maybe related? But a few days ago I had another glitch with regex on native: https://youtrack.jetbrains.com/issue/KT-61180
This is indeed a problem in regex implementation on K/N: https://youtrack.jetbrains.com/issue/KT-61542/Unbounded-recursion-in-Native-regex
Thanks for the repro!
When using a certain
Regex
and finding all matches of aString
, and converting theSequence
to aList
in an async couroutine, on iOS I end up with from the terminal:And the IDE looks really sad:
Reproducer: https://github.com/vanniktech/playground/pull/123 or:
Note that when I either remove the
toList()
call or remove theasync
call, the regex works. However, both aren't an option for me.