阅读背景:

RegEx特殊字符“|”在Java中转义

来源:互联网 

I am trying to split a string like: abc|aa|| When I use the regular string.split I am required to provide a regular expression. I tried to do the following : string.split("|") string.split("\|") string.split("/|") string.split("\Q|\E")I am trying to split a string like: abc|aa|| Wh




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

分享到: