[
https://issues.apache.org/jira/browse/LANG-1156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pascal Schumacher closed LANG-1156.
-----------------------------------
Resolution: Incomplete
A year passed, but the requested "stronger proposal with examples and/or code
to demonstrate" was not supplied. Therefore I'm closing this issue. Please
reopen if there is still interest. Thanks!
> RegexUtils - A utility class for common regex based operation
> -------------------------------------------------------------
>
> Key: LANG-1156
> URL: https://issues.apache.org/jira/browse/LANG-1156
> Project: Commons Lang
> Issue Type: New Feature
> Components: lang.*
> Reporter: Saif Asif
>
> It would be nice to have a utility class for basic regex operations. Some of
> the features that it may contain
> * some basic regex patterns and their application methods
> ** e.g a robust csv parser, or fetch keys and values from
> key1=value1,key2=value2. Instead of writing up regexs, one can use these
> utility methods
> * apply a pattern on a string
> * retrieve certain groups based on a particular criteria
> * escape certain characters in a string
> Class can look like
> {code:title=RegexUtils.java|borderStyle=solid}
> public static final CSV_SPLITTER_REGEX = "someRobustPattern"
> public static final String getCsvSplitterRegex(String delimiter){
> return "delimiterSpecificPattern";
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)