Regular Expressions 101

Community Patterns

-1

rtrtr

Golang
gtgtg
Submitted by anonymous - 3 years ago

匹配引号内容/match quotation mark content

-1

Regular Expression
ECMAScript (JavaScript)

/
(?<=(?:^|[^\\])(?:\\\\)*)(([`'"])(.*?(?:[^\\](\\\\)*|$)(\2|$)))
/
g

Description

Loading markdown...
Submitted by 诶!你的尾巴掉了 - 5 months ago
(Last modified 5 months ago)