2 // This software is now distributed according to
3 // the Lesser Gnu Public License. Please see
4 // http://www.gnu.org/copyleft/lesser.txt for
8 package com.stevesoft.pat;
10 import java.util.Hashtable;
12 /** This class represents the \G pattern element. */
13 class BackG extends Pattern
23 public int matchInternal(int pos, Pthings pt)
25 return pos == pt.lastPos ? nextMatch(pos, pt) : -1;
28 public String toString()
30 return "\\G" + nextString();
33 public patInt minChars()
38 public patInt maxChars()
43 Pattern clone1(Hashtable h)