阅读背景:

正则表达式在Java中匹配未转义的逗号

来源:互联网 

Problem description

问题描述

I am trying to split a into separate strings, with the split() method that the String class provides. The documentation tells me that it will split around matches of the argument, which is a regular expression. The delimiter that I use is a comma, but commas can also be escaped. Escaping character that I use is a forward slash / (just to make things easier by not using a backslash, because that requires additional escaping in string literals in both Java and the regular expressions).I am trying to spl




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

分享到: