JAVA / Kotlin: pushing the positive lookbehind + quantifiers limit on PCRE

前端 未结 0 1296
醉话见心
醉话见心 2021-02-20 14:43

I have this statement:

val pattern = "(?<=)(.*?)(?=|\\$)".toRegex()

the compiler squawks java.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题