X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fcom%2Fstevesoft%2Fpat%2FPthings.java;h=8de2748169481ee6038b593074008aa6ca298f7d;hb=4d7f98a6dd54d9863ba449ec79dcd95d25ed863d;hp=84e327be7118e1452d8e746789419fb5d14a1ff7;hpb=7bc226b58110fa26d9dbd3f0c78095d06909ffc3;p=jalview.git diff --git a/src/com/stevesoft/pat/Pthings.java b/src/com/stevesoft/pat/Pthings.java index 84e327b..8de2748 100755 --- a/src/com/stevesoft/pat/Pthings.java +++ b/src/com/stevesoft/pat/Pthings.java @@ -1,35 +1,47 @@ -// -// This software is now distributed according to -// the Lesser Gnu Public License. Please see -// http://www.gnu.org/copyleft/lesser.txt for -// the details. -// -- Happy Computing! -// -package com.stevesoft.pat; - -import java.util.*; - -/** - 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; -} +// +// This software is now distributed according to +// the Lesser Gnu Public License. Please see +// http://www.gnu.org/copyleft/lesser.txt for +// the details. +// -- Happy Computing! +// +package com.stevesoft.pat; + +import java.util.BitSet; + +/** + * 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; +}