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 2016/05/24 16:06:13 UTC

[jira] [Commented] (LANG-1238) Overload Operations 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:comment-tabpanel&focusedCommentId=15298403#comment-15298403 ] 

Gary Gregory commented on LANG-1238:
------------------------------------

It would be good to first identify how many methods we are talking about here.

Then, if we all agree that this is a good thing, patches welcome, with unit tests of course :-)

> Overload Operations 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
>
> 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
(v6.3.4#6332)