Skip to content

Commit

Permalink
Clarify regex1 text
Browse files Browse the repository at this point in the history
Signed-off-by: David A. Wheeler <dwheeler@dwheeler.com>
  • Loading branch information
david-a-wheeler committed Feb 10, 2025
1 parent addfec0 commit 90b14c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/labs/regex1.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ <h2>Task Information</h2>
that an input is must be either “<tt>ab</tt>” or “<tt>de</tt>”,
use the regex “<tt>^(ab|de)$</tt>”.
To validate the same thing in Python, use
<tt>^(ab|de)\Z</tt>” or “<tt>\A(ab|de)\Z</tt>” (note that it's
not quite the same thing).
<tt>^(ab|de)\Z</tt>” or “<tt>\A(ab|de)\Z</tt>” (note that the
regex pattern is slightly different).

<p>
More information is available in the OpenSSF guide
Expand Down

0 comments on commit 90b14c4

Please sign in to comment.