goog.dom.pattern.AbstractPattern | |
goog.dom.pattern.Repeat | goog.dom.pattern.AbstractPattern |
pattern
: goog.dom.pattern.AbstractPattern
The pattern to
repetitively match.
|
opt_minimum
: number=
The minimum number of times to match. Defaults
to 0.
|
opt_maximum
: number=
The maximum number of times to match. Defaults
to unlimited.
|
![]()
Test whether the given token continues a repeated series of matches of the
pattern given in the constructor.
Arguments:
Returns: goog.dom.pattern.MatchType
MATCH if the pattern
matches, BACKTRACK_MATCH if the pattern does not match
but already had accumulated matches, MATCHING if the pattern
starts a match, and NO_MATCH if the pattern does not match.
|
code » | |||
![]()
Reset any internal state this pattern keeps.
|
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 » |
![]()
No description.
|
Code » | |
![]()
Number of times the pattern has matched.
|
Code » | |
![]()
The matched nodes.
|
Code » | |
![]()
Optional maximum number of times to match the pattern. A
null value
will be treated as infinity.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
Whether the pattern has recently matched or failed to match and will need to
be reset when starting a new round of matches.
|
Code » | |
Pattern to repetitively match.
|
Code » |
![]()
The first node matched by this pattern.
|
Code » |
![]()
No description.
|
Code » |