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 59cc0e8242219d07a0f65851cc6ebb0b3b8c0d3e Author: lopex <[email protected]> Date: Fri Feb 2 11:54:15 2018 +0100 add implicit anchor optimization tests --- test/org/joni/test/TestU8.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/test/org/joni/test/TestU8.java b/test/org/joni/test/TestU8.java index ba2bdd6..2a8eccc 100755 --- a/test/org/joni/test/TestU8.java +++ b/test/org/joni/test/TestU8.java @@ -187,6 +187,18 @@ public class TestU8 extends Test { x2s("(?i)\u0149\u0149", "\u0149\u0149", 0, 4); x2s("(?i)(?<=\u0149)a", "\u02bcna", 3, 4); + x2s("(?m:.*abc)", "dddabdd\nddabc", 0, 13); + x2s("(?m:.+abc)", "dddabdd\nddabc", 0, 13); + x2s("(?-m:.*abc)", "dddabdd\nddabc", 8, 13); + ns("(?-m:.*ab[x-z])", "dddabdd\nddabc"); + x2s("(?-m:.*(?:abc|\\Gabc))", "dddabdd\nddabc", 8, 13); + x2s("(?-m:.+abc)", "dddabdd\nddabc", 8, 13); + x2s("(?-m:.*abc)", "dddabdd\nabc", 8, 11); + ns("(?-m:.+abc)", "dddabdd\nabc"); + x2s("(?m:.*\\Z)", "dddabdd\nddabc", 0, 13); + x2s("(?-m:.*\\Z)", "dddabdd\nddabc", 8, 13); + x2s("(.*)X\\1", "1234X2345", 1, 8); + x2s("(?<=(?i)ab)cd", "ABcd", 2, 4); x2s("(?<=(?i:ab))cd", "ABcd", 2, 4); ns("(?<=(?i)ab)cd", "ABCD"); -- 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

