UtilRegExGetMatchesPositions(Regex, String) Method

Gets a friendlly collection of all the RegEx matches being at group index Zero, and their matches positions.

Definition

Namespace: DevCase.Core.DataProcessing.RegEx
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static IEnumerable<MatchPositionInfo> GetMatchesPositions(
	Regex regEx,
	string text
)

Parameters

regEx  Regex
The RegEx pattern.
text  String
The text where to test the matches.

Return Value

IEnumerableMatchPositionInfo
An IEnumerableT that contains the RegEx matches and their positions.

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

See Also