[jruby-joni] 04/11: allow captured groups in anchors test

Hideki Yamane henrich at moszumanska.debian.org
Fri Mar 18 23:24:23 UTC 2016


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 0a9d9abddd3b748aad56befb3d67db8324414ddf
Author: Marcin Mielzynski <lopx at gazeta.pl>
Date:   Wed Jan 13 21:37:07 2016 +0100

    allow captured groups in anchors test
---
 test/org/joni/test/TestU8.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/org/joni/test/TestU8.java b/test/org/joni/test/TestU8.java
index 5881db4..8ff7b6c 100644
--- a/test/org/joni/test/TestU8.java
+++ b/test/org/joni/test/TestU8.java
@@ -95,6 +95,8 @@ public class TestU8 extends Test {
         x2s("(x?)x*\\1", "x", 0, 1, Option.IGNORECASE);
         x2s("(x?)x*\\k<1+0>", "x", 0, 1, Option.IGNORECASE);
         x2s("(?<n>x?)(?<n>x?)\\k<n>", "x", 0, 1, Option.IGNORECASE);
+
+        x2s("(?=((?<x>)(\\k<x>)))", "", 0, 0);
     }
 
     public static void main(String[] args) throws Throwable {

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



More information about the pkg-java-commits mailing list