[jruby-joni] 14/279: Add userOptions flags to joni Regex instance.

Hideki Yamane henrich at moszumanska.debian.org
Mon Nov 16 11:26:29 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 5730ddeef08fe534220d5411cd7eee76d2b50e43
Author: Marcin Mielżyński <lopx at gazeta.pl>
Date:   Sun Jan 20 19:07:18 2008 +0000

    Add userOptions flags to joni Regex instance.
    
    git-svn-id: http://svn.codehaus.org/jruby/joni/trunk@5673 961051c9-f516-0410-bf72-c9f7e237a7b7
---
 src/org/joni/Regex.java | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/src/org/joni/Regex.java b/src/org/joni/Regex.java
index 8b82ae1..d05f34c 100644
--- a/src/org/joni/Regex.java
+++ b/src/org/joni/Regex.java
@@ -60,6 +60,7 @@ public final class Regex implements RegexState {
     
     final Encoding enc;
     int options;
+    int userOptions;
     //final Syntax syntax;
     final int caseFoldFlag;
     
@@ -449,6 +450,14 @@ public final class Regex implements RegexState {
         return options;
     }
 
+    public void setUserOptions(int options) {
+        this.userOptions = options;
+    }
+
+    public int getUserOptions() {
+        return userOptions;
+    }
+
     public Encoding getEncoding() {
         return enc;
     }

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