Regex checking for contained escaped quotes

后端 未结 0 902
旧巷少年郎
旧巷少年郎 2021-01-06 22:28

^(\'|").*?\\1$ matches a quoted string with any content, as long as opening and closing quotes are the same. I would like it not to match when the input co

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