.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".

该类是虚类。

该类不可创建。

该类行为像一个只读数组。

属性
Count   Return the number of submatches produced by the regular expression.