From d099f534d78bd83b3a3e83d761dac38309b9856a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Tue, 23 Apr 2024 19:28:22 +0200 Subject: [PATCH] Put regex in comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Kévin Commaille --- data/custom-formats.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/data/custom-formats.yaml b/data/custom-formats.yaml index f59c242f..f0001c80 100644 --- a/data/custom-formats.yaml +++ b/data/custom-formats.yaml @@ -21,14 +21,13 @@ # mx-custom-key: # title: The title rendered in the specification # url: /url/to#definition -# pattern: "REGEX" (not used for rendering, but allows to define the common -# pattern to use for the format) mx-user-id: title: User ID url: /appendices#user-identifiers - pattern: "^@" + # regex: "^@" + mx-event-id: title: Event ID url: /appendices#event-ids - pattern: "^\\$" + # regex: "^\\$"