You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2018/05/17 23:21:00 UTC

[jira] [Resolved] (LANG-1238) Add RegexUtils class instead of overloadinh methods in StringUtils that take a regex to take precompiled Pattern

     [ https://issues.apache.org/jira/browse/LANG-1238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Gregory resolved LANG-1238.
--------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: Patch Needed)
                   3.8

[~oleg.chubaryov]: Thank you for your patch. I've applied it to git master and followed up with a couple of tweaks. Please verify and close this issue and the PR.

> Add RegexUtils class instead of overloadinh methods in StringUtils that take a regex to take precompiled Pattern
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: LANG-1238
>                 URL: https://issues.apache.org/jira/browse/LANG-1238
>             Project: Commons Lang
>          Issue Type: Improvement
>          Components: lang.*
>    Affects Versions: 3.4
>            Reporter: Christopher Cordeiro
>            Priority: Minor
>             Fix For: 3.8
>
>
> For performance reasons, it would be nice if the operations in StringUtils that take a regular expression (removePattern/replacePattern) were overloaded to optionally take a precompiled Pattern.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)