goog.dom.pattern.AbstractPattern | |
goog.dom.pattern.Text | goog.dom.pattern.AbstractPattern |
match
: string | RegExp
String or regular expression to match against.
|
![]()
Test whether the given token is a text token which matches the string or
regular expression provided in the constructor.
Arguments:
Returns: goog.dom.pattern.MatchType
MATCH if the pattern
matches, NO_MATCH otherwise.
|
code » |
![]()
Test whether this pattern matches the given token.
Arguments:
Returns: goog.dom.pattern.MatchType
MATCH if the pattern matches.
|
code » | |||
![]()
Reset any internal state this pattern keeps.
|
code » |
![]()
The first node matched by this pattern.
|
Code » |
![]()
No description.
|
Code » |