[jboss-jira] [JBoss JIRA] (ELY-220) Add a RegExSplittingNameRewriter

Darran Lofthouse (JIRA) issues at jboss.org
Mon Jun 29 05:36:03 EDT 2015


    [ https://issues.jboss.org/browse/ELY-220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13084503#comment-13084503 ] 

Darran Lofthouse commented on ELY-220:
--------------------------------------

Given the following String "cn=John Doe,dc=example,dc=com" the result I want is either 'dc=example' or 'example' - wouldn't the replaceAll call just replace matches with previous matches and not extract this small match?

> Add a RegExSplittingNameRewriter 
> ---------------------------------
>
>                 Key: ELY-220
>                 URL: https://issues.jboss.org/browse/ELY-220
>             Project: WildFly Elytron
>          Issue Type: Feature Request
>          Components: Utils
>            Reporter: Darran Lofthouse
>            Assignee: Darran Lofthouse
>             Fix For: 1.0.0.Alpha2
>
>
> The existing implementations allow for replacing a portion of a name based on a regular expression or validating a name based on a regular expression - however we do not have a form that allows you to easily extract a portion of a name.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list