[jruby-joni] 212/279: Allow begin line in look behind

Hideki Yamane henrich at moszumanska.debian.org
Mon Nov 16 11:27:37 UTC 2015


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 1c3e51b4676ee06117d63813bdb9de8285224df8
Author: Marcin Mielzynski <lopx at gazeta.pl>
Date:   Mon Sep 22 17:40:00 2014 +0200

    Allow begin line in look behind
---
 src/org/joni/constants/AnchorType.java | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/org/joni/constants/AnchorType.java b/src/org/joni/constants/AnchorType.java
index f297577..5a7562f 100644
--- a/src/org/joni/constants/AnchorType.java
+++ b/src/org/joni/constants/AnchorType.java
@@ -44,7 +44,10 @@ public interface AnchorType {
 
     final int KEEP              = (1<<16);
 
-    final int ALLOWED_IN_LB =     ( END_LINE |
+    final int ALLOWED_IN_LB =     ( LOOK_BEHIND |
+                                    LOOK_BEHIND_NOT |
+                                    BEGIN_LINE |
+                                    END_LINE |
                                     BEGIN_BUF |
                                     BEGIN_POSITION |
                                     KEEP |
@@ -54,7 +57,10 @@ public interface AnchorType {
                                     WORD_END );
 
 
-    final int ALLOWED_IN_LB_NOT = ( END_LINE |
+    final int ALLOWED_IN_LB_NOT = ( LOOK_BEHIND |
+                                    LOOK_BEHIND_NOT |
+                                    BEGIN_LINE |
+                                    END_LINE |
                                     BEGIN_BUF |
                                     BEGIN_POSITION |
                                     KEEP |

-- 
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