public class SimpleRegex
extends java.lang.Object
SimpleRegex re = new SimpleRegex("the qu.ck .* dog", true);
boolean matches = re.matches("The quick fox jumped over the lazy dog");
Constructor and Description |
---|
SimpleRegex(java.lang.String expr,
boolean caseInsensitive) |
Modifier and Type | Method and Description |
---|---|
boolean |
matches(java.lang.String target) |
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.