Interface Regex
-
public interface RegexA regular expression that can be matched against a string.- See Also:
RegexEngine
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanmatches(String str)Tests whether this regular expression matches a string.
-
-
-
Method Detail
-
matches
boolean matches(String str)
Tests whether this regular expression matches a string.- Parameters:
str- the String to be tested- Returns:
trueifstrmatches this regular expression,falseotherwise
-
-