This is an automated email from the git hooks/post-receive script.

henrich pushed a commit to branch debian/sid
in repository jruby-joni.

commit 0fbd4aac0a3da5fc0e1ed80d26b2341a602ddf25
Author: Marcin Mielzynski <[email protected]>
Date:   Fri Feb 2 18:14:35 2018 +0100

    add dont capture group option test
---
 test/org/joni/test/TestError.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/org/joni/test/TestError.java 
b/test/org/joni/test/TestError.java
index 9d681ee..5c44f91 100755
--- a/test/org/joni/test/TestError.java
+++ b/test/org/joni/test/TestError.java
@@ -73,6 +73,7 @@ public class TestError extends Test {
            xerrs("[\\H- ]", 
ErrorMessages.ERR_UNMATCHED_RANGE_SPECIFIER_IN_CHAR_CLASS); // CVE-2017-9228
 
            xerrs("(?:ab|cd)*\\1", ErrorMessages.ERR_INVALID_BACKREF);
+           xerrs("(ab|cd)*\\1", ErrorMessages.ERR_INVALID_BACKREF, 
Option.DONT_CAPTURE_GROUP);
 
            xerrs("(.(?=\\g<1>))", ErrorMessages.ERR_NEVER_ENDING_RECURSION);
            xerrs("(a)(?<n>b)\\g<1>\\g<n>", 
ErrorMessages.ERR_NUMBERED_BACKREF_OR_CALL_NOT_ALLOWED);

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-java/jruby-joni.git

_______________________________________________
pkg-java-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to