analysis_server: Indent pattern examples to be code blocks
As `{@link` is not a doc directive, it should not be written like it
is a doc directive.
Change-Id: Iebdc34175372ce1933b02c482499acf52ddd2324
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/327285
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
diff --git a/pkg/analysis_server/tool/lsp_spec/meta_model_cleaner.dart b/pkg/analysis_server/tool/lsp_spec/meta_model_cleaner.dart
index b797b30..74ed989 100644
--- a/pkg/analysis_server/tool/lsp_spec/meta_model_cleaner.dart
+++ b/pkg/analysis_server/tool/lsp_spec/meta_model_cleaner.dart
@@ -27,19 +27,19 @@
/// A pattern matching the spec's older HTML links that we can extract type
/// references from.
///
- /// A description of [SomeType[]] (#SomeType).
+ /// A description of [SomeType[]] (#SomeType).
final _sourceCommentDocumentLinksPattern =
RegExp(r'\[`?([\w \-.]+)(?:\[\])?`?\]\s?\((#[^)]+)\)');
/// A pattern matching references in the LSP meta model comments that
/// reference other types.
///
- /// {@link TypeName description}
+ /// {@link TypeName description}
///
/// Type names may have suffixes that shouldn't be included in the group such
/// as
///
- /// {@link TypeName[] description}
+ /// {@link TypeName[] description}
final _sourceCommentReferencesPattern =
RegExp(r'{@link\s+([\w.]+)[\[\]]*(?:\s+[\w`. ]+[\[\]]*)?}');