public class RegexUtils extends Object
| Constructor and Description |
|---|
RegexUtils() |
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
getNamedCaptureGroupsFromPattern(String pattern)
Extracts the names of the named capture groups found within a regex.
|
public static List<String> getNamedCaptureGroupsFromPattern(String pattern)
Matcher.group(String).
Derived from https://stackoverflow.com/questions/15588903/get-group-names-in-java-regexpattern - the pattern from which to extract the named capture groupsCopyright © 2019. All rights reserved.