Home Notices Documents Classes Download Others Rice
Classes  >  regex  >  Groups(string)
regex class : Groups(string) method

This method has been abolished in Rtype.Regex.dll Ver 1.0.0.1.

Description

Gets a list of the string that match a group regular expression pattern in the argument.

Syntax

regexInstance.Groups(string source)

Arguments

ClassNameDescription
stringsourceA string which is searched.

Return value

ClassDescription
list{string}A list of the string that match a group regular expression pattern

Sample code

1:

regex pattern = new regex("(a+)");

2:

list{string} result = pattern.Groups("aaabbbaaccc"); // "aaa", and "aa".

Notes

None.

This method has been abolished in Rtype.Regex.dll Ver 1.0.0.1.

Links for reference

Copyright © Rice All rights reserved.