private static Debug ( string input, |
||
input | string | |
match | ||
regex | ||
Résultat | void |
private static void Debug(string input, Match match, Regex regex)
{
Trace.WriteLine("Regex: " + regex);
Trace.WriteLine("Input: " + input);
foreach (var groupName in regex.GetGroupNames())
{
Trace.WriteLine(" -> " + groupName + ": >>" + match.Groups[groupName].Value + "<<");
}
}