|
regex doesn't support multiple OR patern
---------------------------------------- Key: JENKINS-10207 URL: https://issues.jenkins-ci.org/browse/JENKINS-10207 Project: Jenkins Issue Type: Bug Components: role-strategy Affects Versions: current Reporter: sorokh Assignee: rseguy I've been trying to set up a role with the following pattern: ACT-.*-(MR|CR|PROMOTE) Though correct as regex this seem not to work. The only workaround I found is limit the scoping to 2 choices i.e. ACT-.*-((MR|CR)|PROMOTE) This doesn't seem to be wanted behaviour ;-) -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
[ https://issues.jenkins-ci.org/browse/JENKINS-10207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=150118#comment-150118 ] rseguy commented on JENKINS-10207: ---------------------------------- May you give a try with (ACT-.*-MR|ACT-.*-CR|ACT-.*-PROMOTE) please? This is typically the kind of regexp I use and which works fine. > regex doesn't support multiple OR patern > ---------------------------------------- > > Key: JENKINS-10207 > URL: https://issues.jenkins-ci.org/browse/JENKINS-10207 > Project: Jenkins > Issue Type: Bug > Components: role-strategy > Affects Versions: current > Reporter: sorokh > Assignee: rseguy > > I've been trying to set up a role with the following pattern: > ACT-.*-(MR|CR|PROMOTE) > Though correct as regex this seem not to work. > The only workaround I found is limit the scoping to 2 choices i.e. > ACT-.*-((MR|CR)|PROMOTE) > This doesn't seem to be wanted behaviour ;-) -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by JIRA noreply@jenkins-ci.org
[ https://issues.jenkins-ci.org/browse/JENKINS-10207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=150118#comment-150118 ] rseguy edited comment on JENKINS-10207 at 7/4/11 11:51 AM: ----------------------------------------------------------- May you give a try with {{(ACT\-.\*\-MR|ACT\-.\*\-CR|ACT\-.\*\-PROMOTE)}} please? This is typically the kind of regexp I use and which works fine. was (Author: rseguy): May you give a try with (ACT-.*-MR|ACT-.*-CR|ACT-.*-PROMOTE) please? This is typically the kind of regexp I use and which works fine. > regex doesn't support multiple OR patern > ---------------------------------------- > > Key: JENKINS-10207 > URL: https://issues.jenkins-ci.org/browse/JENKINS-10207 > Project: Jenkins > Issue Type: Bug > Components: role-strategy > Affects Versions: current > Reporter: sorokh > Assignee: rseguy > > I've been trying to set up a role with the following pattern: > ACT-.*-(MR|CR|PROMOTE) > Though correct as regex this seem not to work. > The only workaround I found is limit the scoping to 2 choices i.e. > ACT-.*-((MR|CR)|PROMOTE) > This doesn't seem to be wanted behaviour ;-) -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by JIRA noreply@jenkins-ci.org
[ https://issues.jenkins-ci.org/browse/JENKINS-10207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Romain Seguy reassigned JENKINS-10207: -------------------------------------- Assignee: Daniel Petisme (was: Romain Seguy) > regex doesn't support multiple OR patern > ---------------------------------------- > > Key: JENKINS-10207 > URL: https://issues.jenkins-ci.org/browse/JENKINS-10207 > Project: Jenkins > Issue Type: Bug > Components: role-strategy > Affects Versions: current > Reporter: sorokh > Assignee: Daniel Petisme > > I've been trying to set up a role with the following pattern: > ACT-.*-(MR|CR|PROMOTE) > Though correct as regex this seem not to work. > The only workaround I found is limit the scoping to 2 choices i.e. > ACT-.*-((MR|CR)|PROMOTE) > This doesn't seem to be wanted behaviour ;-) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
| Powered by Nabble | See how NAML generates this page |
