Java - Simple Regular Expression works in online validator but not with Pattern and Matcher

后端 未结 0 1464
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-28 17:43

This is a so simple RE but it didn\'t work when i\'m trying to use Java to get it.

This is my code

Pattern pattern = Pattern.compile("id=(\\\\d+)&         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题