From ee9c01ec3c67b263a45d54543762ca23ef571e47 Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Thu, 30 Apr 2026 10:34:27 -0400 Subject: [PATCH] Clarify anchor regular expressions Signed-off-by: Juan Cruz Viotti --- content/2019-09/core/anchor.markdown | 2 +- content/2020-12/core/anchor.markdown | 2 +- content/2020-12/core/dynamicAnchor.markdown | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/content/2019-09/core/anchor.markdown b/content/2019-09/core/anchor.markdown index 4e992c73..28061c37 100644 --- a/content/2019-09/core/anchor.markdown +++ b/content/2019-09/core/anchor.markdown @@ -1,7 +1,7 @@ --- keyword: "$anchor" signature: "String" -value: This keyword must be set to a string starting with a letter and containing letters, digits, hyphens, underscores, colons, or periods +value: "This keyword must be set to a string that starts with a letter and may continue with letters, digits, hyphens, periods, colons, or underscores (matching the regular expression `^[A-Za-z][-A-Za-z0-9.:_]*$`)" summary: "This keyword is used to create plain name fragments that are not tied to any particular structural location for referencing purposes, which are taken into consideration for static referencing." kind: [ "identifier" ] instance: [ "any" ] diff --git a/content/2020-12/core/anchor.markdown b/content/2020-12/core/anchor.markdown index 678169fb..ec362336 100644 --- a/content/2020-12/core/anchor.markdown +++ b/content/2020-12/core/anchor.markdown @@ -1,7 +1,7 @@ --- keyword: "$anchor" signature: "String" -value: This keyword must be set to a string starting with a letter and containing letters, digits, hyphens, underscores, colons, or periods +value: "This keyword must be set to a string that starts with a letter or underscore and may continue with letters, digits, hyphens, periods, or underscores (matching the regular expression `^[A-Za-z_][-A-Za-z0-9._]*$`)" summary: "This keyword is used to create plain name fragments that are not tied to any particular structural location for referencing purposes, which are taken into consideration for static referencing." kind: [ "identifier" ] instance: [ "any" ] diff --git a/content/2020-12/core/dynamicAnchor.markdown b/content/2020-12/core/dynamicAnchor.markdown index c939ac03..56bee95a 100644 --- a/content/2020-12/core/dynamicAnchor.markdown +++ b/content/2020-12/core/dynamicAnchor.markdown @@ -1,7 +1,7 @@ --- keyword: "$dynamicAnchor" signature: "String" -value: This keyword must be set to a string starting with a letter and containing letters, digits, hyphens, underscores, colons, or periods +value: "This keyword must be set to a string that starts with a letter or underscore and may continue with letters, digits, hyphens, periods, or underscores (matching the regular expression `^[A-Za-z_][-A-Za-z0-9._]*$`)" summary: "This keyword is used to create plain name fragments that are not tied to any particular structural location for referencing purposes, which are taken into consideration for dynamic referencing." kind: [ "identifier" ] instance: [ "any" ]