commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LANG-883) StringUtils.containsAny(CharSequence, CharSequence... )
Date Fri, 05 Apr 2013 11:48:16 GMT

    [ https://issues.apache.org/jira/browse/LANG-883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13623549#comment-13623549
] 

Gary Gregory commented on LANG-883:
-----------------------------------

Better than using a regular expression?
                
> StringUtils.containsAny(CharSequence, CharSequence... )
> -------------------------------------------------------
>
>                 Key: LANG-883
>                 URL: https://issues.apache.org/jira/browse/LANG-883
>             Project: Commons Lang
>          Issue Type: New Feature
>          Components: lang.*
>    Affects Versions: 3.1
>            Reporter: Ivan Hristov
>            Priority: Trivial
>
> Presently there is a: public static boolean containsAny(CharSequence cs, char... searchChars).
It would be useful to have the: public static boolean containsAny(CharSequence cs, CharSequence...
searchCharSequences) which will return true if any of the searchCharSequences are contained
within the cs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message