commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pascal Schumacher (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (TEXT-90) Add CharacterPredicates for ASCII letters (uppercase/lowercase) and arabic numerals
Date Thu, 22 Jun 2017 18:53:00 GMT

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

Pascal Schumacher updated TEXT-90:
----------------------------------
    Description: 
I tried to migrate a project from RandomStringUtils to RandomStringGenerator today, but I
found it hard to replace methods like RandomStringUtils#randomAlphanumeric and RandomStringUtils#randomAlphabetic.

I believe it would ease migration from RandomStringUtils to RandomStringGenerator if CharacterPrecidates
would offer more predicates.

Edit:

Added CharacterPredicates#ARABIC_NUMERALS, #ASCII_LOWERCASE_LETTERS, #ASCII_UPPERCASE_LETTERS,
#ASCII_LETTERS and #ASCII_ALPHA_NUMERALS.

  was:
I tried to migrate a project from RandomStringUtils to RandomStringGenerator today, but I
found it hard to replace methods like RandomStringUtils#randomAlphanumeric and RandomStringUtils#randomAlphabetic.

I believe it would ease migration from RandomStringUtils to RandomStringGenerator if CharacterPrecidates
would offer more predicates.


> Add CharacterPredicates for ASCII letters (uppercase/lowercase) and arabic numerals
> -----------------------------------------------------------------------------------
>
>                 Key: TEXT-90
>                 URL: https://issues.apache.org/jira/browse/TEXT-90
>             Project: Commons Text
>          Issue Type: New Feature
>            Reporter: Pascal Schumacher
>            Assignee: Pascal Schumacher
>             Fix For: 1.2
>
>
> I tried to migrate a project from RandomStringUtils to RandomStringGenerator today, but
I found it hard to replace methods like RandomStringUtils#randomAlphanumeric and RandomStringUtils#randomAlphabetic.
> I believe it would ease migration from RandomStringUtils to RandomStringGenerator if
CharacterPrecidates would offer more predicates.
> Edit:
> Added CharacterPredicates#ARABIC_NUMERALS, #ASCII_LOWERCASE_LETTERS, #ASCII_UPPERCASE_LETTERS,
#ASCII_LETTERS and #ASCII_ALPHA_NUMERALS.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message