Regex Pattern Works in Unit Tests But Not In Code. Receiving java.util.regex.PatternSyntaxException

前端 未结 0 1814
时光说笑
时光说笑 2020-12-01 01:03

I created a regex to detect when a sentence is in the following format, "{word {more words}}".

Here is how I am detecting if a sentence is in this format.

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