July 2007
Intermediate to advanced
128 pages
2h 39m
English
Match
public bool SuccessIndicate whether the match was successful.
public string ValueText of the match.
public int LengthNumber of characters in the matched text.
public int IndexZero-based character index of the start of the match.
public GroupCollection GroupsA GroupCollection object, where Groups[0].value contains the text of the entire match, and each additional Groups element contains the text matched by a capture group.
public Match NextMatch( )Return a Match object for the next match of the regex in the input string.
public virtual string Result(stringresult)Return result with special replacement sequences replaced by values from the previous match.
public static Match Synchronized(Matchinner)Return a Match object identical to inner, except also safe for multithreaded use.