Josh Johnston edited a comment on Bug JENKINS-26842

I cloned the github repo and added a test to TestBranchSpec.java and it passes so it doesn't seem to be in there.

TestBranchSpec.java
public void testUsesJavaPatternWithRepetition() {
        // match pattern from JENKINS-26842
    	BranchSpec m = new BranchSpec(":origin/release-\\d{8}");
    	assertTrue(m.matches("origin/release-20150101"));
    	assertFalse(m.matches("release-2015010"));
    	assertFalse(m.matches("release-201501011"));
    	assertFalse(m.matches("release-20150101-something"));
    }
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

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to