public Match Match(string text) { var match = _regexp.Match(text); if (match.Success) { var grokMatch = new Match(text, match.Index, this, _regexp, match); Log.DebugFormat("Regexp match object, names: {0}, captures: {1}", _regexp.GetGroupNames(), match.Groups); return(grokMatch); } return(null); }
public Match Match(string text) { var match = _regexp.Match(text); if (match.Success) { var grokMatch = new Match(text, match.Index, this, _regexp, match); Log.DebugFormat("Regexp match object, names: {0}, captures: {1}", _regexp.GetGroupNames(), match.Groups); return grokMatch; } return null; }