Adding optional group to regex pattern (java)

前端 未结 0 323
孤街浪徒
孤街浪徒 2021-01-27 07:41

I have a regex pattern in java that is matching a string in this form:

private static final REGEX = ""sec-gw-server(\\\\d{1,3})\\\\.inthecloud\\\\"         


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