正则表达式模式
/("[^:=,]+":")(.*?)("}*\]*}*,")/
细绳 :
"foo":""fooooooooooooooooooo"foooo","bar":"barrrrrrrrr""barrrrrr","fooo":"foooooo","bar":"barrrrrr","
匹配第一个和第三个模式
http://rubular.com/r/S5fbsSfCjy
细绳:
"bar":"barrrrrrrrr""barrrrrr","fooo":"foooooo","bar":"barrrrrr","foo":""fooooooooooooooooooo"foooo","
匹配第一个和第三个模式
http://rubular.com/r/hDfcBCkB2o
如何使它匹配所有 4 个模式匹配上面的任何字符串?