diff --git a/docs/labs/regex1.html b/docs/labs/regex1.html index f0e1284f..2cf972e7 100644 --- a/docs/labs/regex1.html +++ b/docs/labs/regex1.html @@ -95,6 +95,12 @@ want the text inside the slashes (the pattern itself). examples: - - "/" +- present: |- + ["'`] + text: In this exercise we only want the regular expression pattern itself. + There is no need to use any kind of quote mark. + examples: + - - "'" - absent: |- ^\^ text: For input validation, start with '^' to indicate a full match. @@ -308,7 +314,8 @@
@@ -347,13 +354,18 @@
+More information is available in the OpenSSF guide +Correctly Using Regular Expressions for Secure Input Validation. +
Create a regular expression, for use in ECMAScript (JavaScript), that only matches the letters "Y" or "N". @@ -370,7 +382,7 @@
Create a regular expression, for use in ECMAScript (JavaScript), that only matches one or more uppercase Latin letters (A through Z). @@ -388,7 +400,7 @@
Create a regular expression, for use in ECMAScript (JavaScript), that only matches the words "true" or "false". @@ -406,7 +418,7 @@
Create a regular expression that only matches one or more uppercase Latin letters (A through Z). @@ -425,7 +437,7 @@
Create a regular expression that only matches one Latin letter (A through Z), followed by a