size
The size
method returns the total number of sub matches made for the current match, including the whole match (sub match 0).
Syntax
size()
Returns
(Number). The number of sub matches for the current match.
The size
method returns the total number of sub matches made for the current match, including the whole match (sub match 0).
size()
(Number). The number of sub matches for the current match.