.Regexp.Submatches (gb.pcre)
.RegexpSubmatches contains the submatches returned from a
RegExp match. You access it with the
SubMatches property of the
RegExp class.
Each member of a .RegexpSubmatches collection simply contains the text of the corresponding submatch. For example, with a subject of "quick brown fox" and a pattern of "brown (\S+)", SubMatches[0] would contain "fox".
This class is virtual.
This class is not creatable.
This class acts like a
read-only array.
الخصائص
Count
|
Return the number of submatches produced by the regular expression.
|