Is there any regular expression api or library for java that can accept multiple groups with the same name in one pattern?
multiple groups with the same name regex java?
4.9k views Asked by AIA At
2
Is there any regular expression api or library for java that can accept multiple groups with the same name in one pattern?
This is a very old question, but google brought me here, I found a solution for PHP using the
/J
modifier. All details explained here: http://www.rexegg.com/regex-capture.html#dupe_namesWorking example here https://regex101.com/r/h7HJXj/1