abbot.util
Class Regexp
java.lang.Object
abbot.util.Regexp
public class Regexp
- extends Object
Simple wrapper around the more fully-featured RE class.
Method Summary |
static boolean |
stringContainsMatch(String regexp,
String actual)
Return whether there is a match for the given regular expression
within the given string. |
static boolean |
stringMatch(String regexp,
String actual)
Return whether the given regular expression matches the given string
exactly. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Regexp
public Regexp()
stringContainsMatch
public static boolean stringContainsMatch(String regexp,
String actual)
- Return whether there is a match for the given regular expression
within the given string.
stringMatch
public static boolean stringMatch(String regexp,
String actual)
- Return whether the given regular expression matches the given string
exactly.
Copyright © 2002-2008 Timothy Wall. All Rights Reserved.
Abbot is hosted on