This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.FileHelpers.
Summary
Finds regex matches in a file and returns all match groups.
Syntax
public static List<List<Group>> FindRegexMatchesGroupsInFile(this ICakeContext context, FilePath file, Encoding encoding, string rxFindPattern, RegexOptions rxOptions)
Attributes
| Type |
Description |
| CakeMethodAliasAttribute |
|
Parameters
| Name |
Type |
Description |
| context |
ICakeContext |
The context. |
| file |
FilePath |
The file. |
| encoding |
Encoding |
The encoding to use for the file. |
| rxFindPattern |
string |
The regex pattern to search for. |
| rxOptions |
RegexOptions |
The regex options. |
Return Value
| Type |
Description |
| List<List<Group>> |
The matches with their groups. |