From 90b14c477dae150e6a0f65620110656f23ab62a1 Mon Sep 17 00:00:00 2001 From: "David A. Wheeler" Date: Mon, 10 Feb 2025 14:28:50 -0500 Subject: [PATCH] Clarify regex1 text Signed-off-by: David A. Wheeler --- docs/labs/regex1.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/labs/regex1.html b/docs/labs/regex1.html index 508b0e2e..157dbee4 100644 --- a/docs/labs/regex1.html +++ b/docs/labs/regex1.html @@ -111,8 +111,8 @@

Task Information

that an input is must be either “ab” or “de”, use the regex “^(ab|de)$”. To validate the same thing in Python, use -“^(ab|de)\Z” or “\A(ab|de)\Z” (note that it's -not quite the same thing). +“^(ab|de)\Z” or “\A(ab|de)\Z” (note that the +regex pattern is slightly different).

More information is available in the OpenSSF guide