阅读背景:

正则表达式没有捕获我的整个选择

来源:互联网 

I am working with a tokenized string, the token always begins with ~~Example~~ and ends with ~~end~~. I am trying to work out a regex expression that will grab both tokens. I currently have /~~([^])\w+~~/ but this is only grabbing the end token which is ~~end~~. The following example will clarify my question. I am working with a tokenized string, the token




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: