public override string ToRegexPattern() { string result = string.Format(CultureInfo.InvariantCulture, "(?#{0})", CommentText); return result; }