private static void displayMatches(string input, string pattern, AlgorithmType algorithmType, RegexOptions options) { //RegexAssert.DisplayPattern(pattern); var matches = new Regex2(pattern, algorithmType, options).Matches(input); RegexAssert.DisplayMatches(input, pattern, algorithmType, options, matches); }