Skip to content

Commit ee2df80

Browse files
Clarify regex1 text
Signed-off-by: David A. Wheeler <[email protected]>
1 parent d4f4f2f commit ee2df80

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)