Declaration
public IEnumerable<StringerexMatch> Matches(
string input,
int startAt = 0
)Summary
Returns a sequence of non-overlapping regular expression matches, optionally starting the search at the
specified character index.
Parameters
| string | input |
String to match the regular expression against. |
| int | startAt |
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.