我正在尝试解析:
“-key -key-name-pair key = value key =” the values“ key ='the value'key my-key-gh = the-values my-key-gh =” the no-values“”]] >
我想返回以下字符串
我已经尝试过此正则表达式:
(-([a-z])+)? |((\w)+=(\w)+)|((\w)+="(.*)")|((\w)+='(.*?)')|(\w+-\w+)+
我的表情怎么了?
我正在尝试解析:“ -key -key-name-pair key = value key =” the values“ key ='the value'key my-key-gh = the-values my-key-gh =” no-values“”“我希望以下字符串返回-key -key -...
您可以使用