X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fcom%2Fstevesoft%2Fpat%2FPthings.java;fp=src%2Fcom%2Fstevesoft%2Fpat%2FPthings.java;h=84e327be7118e1452d8e746789419fb5d14a1ff7;hb=7bc226b58110fa26d9dbd3f0c78095d06909ffc3;hp=0a465ceb7a5a8698ec6973232d207cbeeb026a19;hpb=dd74fc4938723fe5ec48d4e5fdcfbe58ac42a48d;p=jalview.git diff --git a/src/com/stevesoft/pat/Pthings.java b/src/com/stevesoft/pat/Pthings.java index 0a465ce..84e327b 100755 --- a/src/com/stevesoft/pat/Pthings.java +++ b/src/com/stevesoft/pat/Pthings.java @@ -6,28 +6,30 @@ // -- Happy Computing! // package com.stevesoft.pat; + import java.util.*; -/** -Things that need to be kept track of during a +/** + Things that need to be kept track of during a match. Passed along with Pattern.matchInternal. */ -public class Pthings { - /** The current text we are attempting to match. */ - public StringLike src; - /** Whether we should ignore the case of letters in - this match. */ - public boolean ignoreCase; - public boolean mFlag; - /** The mask to use when dontMatchInQuotes is set. */ - public BitSet cbits; - /** Used to keep track of backreferences. */ - //public Hashtable marks; - public int[] marks; - public int nMarks; - /** Used to set the behavior of "." By default, it - now fails to match the '\n' character. */ - public boolean dotDoesntMatchCR; - /** Determine if Skipped strings need to be checked. */ - public boolean no_check; - int lastPos; +public class Pthings +{ + /** The current text we are attempting to match. */ + public StringLike src; + /** Whether we should ignore the case of letters in + this match. */ + public boolean ignoreCase; + public boolean mFlag; + /** The mask to use when dontMatchInQuotes is set. */ + public BitSet cbits; + /** Used to keep track of backreferences. */ + //public Hashtable marks; + public int[] marks; + public int nMarks; + /** Used to set the behavior of "." By default, it + now fails to match the '\n' character. */ + public boolean dotDoesntMatchCR; + /** Determine if Skipped strings need to be checked. */ + public boolean no_check; + int lastPos; }