CountRegularExpressionGroups()
语法
Result = CountRegularExpressionGroups(#RegularExpression)概要
Returns the number of groups defined in the #RegularExpression. The matches of regular expression groups can be accessed with functions like RegularExpressionGroup().
参数
#RegularExpression The regular expression to use.
返回值
The number of groups defined in the regular expression.
Remarks
Groups in a regular expression are defined by surrounding a sub-expression with braces "(" and ")". The groups are numbered as they appear in the regular expression from left to right. The first group has index 1.
参阅
RegularExpressionGroup()
已支持操作系统
所有