frysk.expunit
Class Match
java.lang.Object
frysk.expunit.Match
- Direct Known Subclasses:
- Equals, Regex
public abstract class Match
- extends Object
Match the specified input, and remember what matched. Loosely
modeled on the corresponding Java Pattern and Matcher objects.
Constructor Summary |
Match()
|
Method Summary |
static String |
escape(String s)
Escape any characters in S so it looks something like a quoted-string seen in java. |
void |
execute()
|
Match
public Match()
escape
public static String escape(String s)
- Escape any characters in S so it looks something like a quoted-string seen in java.
- Parameters:
s
- the unescaped string
- Returns:
- the escaped string
execute
public void execute()