Registry / utility / named-regexp

named-regexp

JSON →
library1.0.0javamavenunverified

Provides named capturing groups for Java 5/6 regular expressions.

<dependency> <groupId>com.github.tony19</groupId> <artifactId>named-regexp</artifactId> <version>1.0.0</version> </dependency>
INSTALL
IMPORT
SIG · NAMED-REGEXP
N
named-regexp
utilityjavav1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

NamedPattern
✓ com.github.tony19.namedregexp.NamedPattern

Demonstrates using named groups in regex matching.

import com.github.tony19.namedregexp.NamedPattern; import com.github.tony19.namedregexp.NamedMatcher; public class Example { public static void main(String[] args) { NamedPattern p = NamedPattern.compile("(?<name>\\w+)"); NamedMatcher m = p.matcher("hello"); if (m.find()) { System.out.println(m.group("name")); } } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
named-regexp — mvn dependency:get named-regexp · libregistry