Skip to content

Commit 6ef53e5

Browse files
Merge pull request #448 from ossf/tweak_regex
Clarify regex1 text
2 parents e518323 + ee2df80 commit 6ef53e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/labs/regex1.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,8 @@ <h2>Task Information</h2>
289289
So <tt>[A-D]*</tt> will match 0 or more letters as long as every letter
290290
is an A, B, C, or D.
291291
<li>You can use "<tt>|</tt>" to identify options, any of which are acceptable.
292-
When validating input, should surround the options with parenthesis,
293-
because "<tt>|</tt>" has a low precedence.
292+
When validating input, should surround the collection of options
293+
with parenthesis, because "<tt>|</tt>" has a low precedence.
294294
So for example, "<tt>(yes|no)</tt>" is a way to match either "yes" or "no".
295295
</ol>
296296

0 commit comments

Comments
 (0)