| java.lang.Object org.codehaus.janino.util.StringPattern
StringPattern | public StringPattern(int mode, String pattern)(Code) | | |
getMode | public int getMode()(Code) | | |
matches | public boolean matches(String text)(Code) | | Match the given text against the pattern represented by the current instance,
as follows:
-
A
* in the pattern matches any sequence of zero or more characters in the
text
-
A
? in the pattern matches exactly one character in the text
-
Any other character in the pattern must appear exactly as it is in the
text
Notice: The mode flag of the current instance does not take any effect here.
|
|
|