Package org.apache.openjpa.lib.util
Class SimpleRegex
- java.lang.Object
- 
- org.apache.openjpa.lib.util.SimpleRegex
 
- 
 public class SimpleRegex extends java.lang.ObjectAllows for simple regex style testing of strings. The wildcard '.' is used to represent any single character, while '.*' is used to represent any series of 0 or more characters. Examples:
 SimpleRegex re = new SimpleRegex("the qu.ck .* dog", true); boolean matches = re.matches("The quick fox jumped over the lazy dog");
- 
- 
Constructor SummaryConstructors Constructor Description SimpleRegex(java.lang.String expr, boolean caseInsensitive)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanmatches(java.lang.String target)
 
-