From 8002e8acd38a7c0e6eaeff686eed29bc6a84b74f Mon Sep 17 00:00:00 2001 From: Brandon Mitchell Date: Thu, 9 Nov 2023 16:24:36 -0500 Subject: [PATCH] Escape forward slash in regexp Signed-off-by: Brandon Mitchell --- spec.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec.md b/spec.md index 2c10397d..23e310eb 100644 --- a/spec.md +++ b/spec.md @@ -153,7 +153,7 @@ To pull a manifest, perform a `GET` request to a URL in the following form: The `` MUST NOT be in any other format. Throughout this document, `` MUST match the following regular expression: -`[a-z0-9]+((\.|_|__|-+)[a-z0-9]+)*(/[a-z0-9]+((\.|_|__|-+)[a-z0-9]+)*)*` +`[a-z0-9]+((\.|_|__|-+)[a-z0-9]+)*(\/[a-z0-9]+((\.|_|__|-+)[a-z0-9]+)*)*` Throughout this document, `` as a tag MUST be at most 128 characters in length and MUST match the following regular expression: