As of JDK 20, the Pattern class provides a method to get all named groups
pmonks opened this issue · comments
Peter Monks commented
When running on a JVM that supports it, I want to rencg
to use the built-in named group support, as it may be more performant and reliable than the parsing method the library uses on older JVMs. Note: on older JVMs the older method will still be necessary - rencg
should automatically switch methods based on the capabilities of the JVM hosting the code.