Skip to content

Commit 65825f8

Browse files
briennamarijnh
authored andcommitted
Corrected answer to fifth regular expression
The question asks: 5. A whitespace character followed by a dot, comma, colon, or semicolon. Corrected answer includes the previously missing colon.
1 parent d8a1f78 commit 65825f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/solutions/09_1_regexp_golf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ verify(/ious\b/,
1616
["how delicious", "spacious room"],
1717
["ruinous", "consciousness"]);
1818

19-
verify(/\s[.,;]/,
19+
verify(/\s[.,:;]/,
2020
["bad punctuation ."],
2121
["escape the dot"]);
2222

0 commit comments

Comments
 (0)