Why does this regex only work with an end-of-string symbol?

前端 未结 0 618
不知归路
不知归路 2021-01-23 23:39

Given these strings:

\'module1\'

\'{ module2 }\'

\'{ module 3 as module4 }\'

and needing a regular expression to capture the (sub)strings \'mod

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