A class to handle regex operations
Since
11/27/2024
Author Zackary Frazier
Get the groups from a regex pattern
public List<String> getGroups(String str, String regexPattern)
Name | Type | Description |
---|---|---|
str | String | String |
regexPattern | String | String |
List<String>
,[object Object]
Returns whether a string matches a regex pattern
public Boolean matches(String str, String regexPattern)
Name | Type | Description |
---|---|---|
str | String | String |
regexPattern | String | String |
Boolean
,[object Object]