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 e8327a96e5a4f29ca253217b81bcc477051e78d3 Author: Marcin Mielzynski <[email protected]> Date: Mon Mar 16 21:24:11 2015 +0100 Test for #15 --- src/org/joni/StackMachine.java | 2 +- test/org/joni/test/TestA.java | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/org/joni/StackMachine.java b/src/org/joni/StackMachine.java index 8a80781..2975096 100644 --- a/src/org/joni/StackMachine.java +++ b/src/org/joni/StackMachine.java @@ -502,7 +502,7 @@ abstract class StackMachine extends Matcher implements StackType { int endp; isNull = 1; while (k < stk) { - e = stack[k++]; + e = stack[k++]; if (e.type == MEM_START) { if (e.getMemEnd() == INVALID_INDEX) { isNull = 0; diff --git a/test/org/joni/test/TestA.java b/test/org/joni/test/TestA.java index d9403da..bd95f3e 100644 --- a/test/org/joni/test/TestA.java +++ b/test/org/joni/test/TestA.java @@ -500,6 +500,8 @@ public class TestA extends Test { x2s("(?<=\\babc)d", " abcd", 4, 5); x2s("(?<=\\Babc)d", "aabcd", 4, 5); + x2s("([^\\s]+),(.*)+", " xxxx, xxx xxxxxx xxxxxxxxx xxxxxxx, xxxx xxxxx xxxxx ", 1, 62); + x2s(",(.*)+", " xxxx, xxx xxxxxx xxxxxxxxx xxxxxxx, xxxx xxxxx xxxxx ", 5, 52); } 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 _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

