Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: IEnumerable<TResult> RawMatches(T[], int)

Declaration

public IEnumerable<TResult> RawMatches(
    T[] input,
    int startAt = 0
)

Summary

Returns a sequence of non-overlapping regular expression matches, optionally starting the search at the specified index.

Parameters

T[]input Input sequence to match the regular expression against.
intstartAt Optional index at which to start the search. Matches that start before this index are not included.

Remarks

The behaviour is analogous to Regex.Matches(string, string). The documentation for that method claims that it returns “all occurrences of the regular expression”, but this is false.