13 references to ReplaceIfMatches
aspire (13)
Documentation\Docs\DocsIndexService.cs (13)
980var normalized = ReplaceIfMatches(builder.ToString(), TrailingWhitespaceBeforeNewlineRegex(), "\n"); 981normalized = ReplaceIfMatches(normalized, BlankLineAfterHeadingRegex(), "$1\n"); 982normalized = ReplaceIfMatches(normalized, BlankLineAfterTableRegex(), "$1\n"); 983normalized = ReplaceIfMatches(normalized, BlankLineAfterListRegex(), "$1\n"); 984normalized = ReplaceIfMatches(normalized, ExcessBlankLinesRegex(), "\n\n"); 999content = ReplaceIfMatches(content, InlineHeadingRegex(), "\n\n$1"); 1000content = ReplaceIfMatches(content, SectionTitledBookmarkRegex(), "\n\n"); 1001content = ReplaceIfMatches(content, InlineOrderedListRegex(), "\n$1"); 1002content = ReplaceIfMatches(content, InlineUnorderedListRegex(), "\n* "); 1003content = ReplaceIfMatches(content, InlineTableStartRegex(), "$1\n$2"); 1004content = ReplaceIfMatches(content, InlineTableRowBoundaryRegex(), "\n"); 1005content = ReplaceIfMatches(content, InlineTableEndRegex(), "$1\n$2"); 1006content = ReplaceIfMatches(content, LeadingWhitespaceRegex(), "");