2 // This software is now distributed according to
\r
3 // the Lesser Gnu Public License. Please see
\r
4 // http://www.gnu.org/copyleft/lesser.txt for
\r
6 // -- Happy Computing!
\r
8 package com.stevesoft.pat;
\r
12 /** This class represents the \G pattern element. */
\r
16 char c, altc, altc2;
\r
22 public int matchInternal(int pos, Pthings pt)
\r
24 return pos == pt.lastPos ? nextMatch(pos, pt) : -1;
\r
27 public String toString()
\r
29 return "\\G" + nextString();
\r
32 public patInt minChars()
\r
34 return new patInt(1);
\r
37 public patInt maxChars()
\r
39 return new patInt(1);
\r
42 Pattern clone1(Hashtable h)
\r