pmonks / rencg

A micro-library for Clojure that provides first class support for named-capturing groups in regular expressions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

As of JDK 20, the Pattern class provides a method to get all named groups

pmonks opened this issue · comments

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.