Rubberduck.Parsing.Symbols.CommentExtensions.GetComment C# (CSharp) Method

GetComment() public static method

public static GetComment ( this remComment ) : string
remComment this
return string
        public static string GetComment(this VBAParser.RemCommentContext remComment)
        {
            string rawComment = remComment.GetText();
            string bodyOnly = Regex.Replace(rawComment, ":?REM(.*)", "$1", RegexOptions.IgnoreCase).TrimStart();
            return bodyOnly;
        }
CommentExtensions