1 16 17 package org.apache.taglibs.regexp; 18 19 import java.util.*; 20 import org.apache.oro.text.*; 21 import org.apache.oro.text.perl.*; 22 import org.apache.oro.text.regex.*; 23 import javax.servlet.*; 24 import javax.servlet.http.*; 25 import javax.servlet.jsp.*; 26 import javax.servlet.jsp.tagext.*; 27 28 38 39 public class RegexpData 40 { 41 42 private static PatternCacheLRU regexp = new PatternCacheLRU(100); 48 49 private String regexptext = null; 51 52 RegexpData(String text) 53 { 54 regexptext = text; 55 } 56 57 62 public final String getRegexp() 63 { 64 return regexptext; 65 } 66 67 72 public final static PatternCacheLRU getPatternCache() 73 { 74 return regexp; 75 } 76 } 77 | Popular Tags |