Skip to content

Commit 53ae0b1

Browse files
Fix regex0 (#460)
I made an error in regex0, this fixes it Signed-off-by: David A. Wheeler <[email protected]>
1 parent 9984826 commit 53ae0b1

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

docs/labs/regex0.html

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,13 @@
1212
<!-- See create_labs.md for how to create your own lab! -->
1313

1414
<!-- Sample expected answer -->
15-
<script id="expected0" type="plain/text">
16-
cat
17-
</script>
15+
<script id="expected0" type="plain/text">cat</script>
1816

1917
<!-- Full pattern of correct answer -->
20-
<script id="correct0" type="plain/text">
21-
cat
22-
</script>
18+
<script id="correct0" type="plain/text">cat</script>
2319

2420
<!-- Sample expected answer -->
25-
<script id="expected1" type="plain/text">
26-
ABBBB
27-
</script>
21+
<script id="expected1" type="plain/text">A+BB*</script>
2822

2923
<!-- Full pattern of correct answer -->
3024
<script id="correct1" type="plain/text">
@@ -42,6 +36,11 @@
4236
^\^
4337
text: We are looking for 'cat' anywhere, not just the beginning,
4438
in this exercise.
39+
- present: |-
40+
C
41+
text: Regexes are normally case-sensitive. Use a lowercase c.
42+
examples:
43+
- - "C"
4544
- absent: |-
4645
c
4746
text: If you are searching for "cat" you need to look for a "c"

0 commit comments

Comments
 (0)