Skip to content

Commit 7896534

Browse files
committed
Drop use of 'hottentottententen'
Due to colonial connotations
1 parent bdff0df commit 7896534

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

09_regexp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1305,8 +1305,8 @@ verify(/.../,
13051305
["escape the period"]);
13061306
13071307
verify(/.../,
1308-
["hottentottententen"],
1309-
["no", "hotten totten tenten"]);
1308+
["Siebentausenddreihundertzweiundzwanzig"],
1309+
["no", "three small words"]);
13101310
13111311
verify(/.../,
13121312
["red platypus", "wobbling nest"],

code/solutions/09_1_regexp_golf.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ verify(/\s[.,:;]/,
2121
["escape the dot"]);
2222

2323
verify(/\w{7}/,
24-
["hottentottententen"],
25-
["no", "hotten totten tenten"]);
24+
["Siebentausenddreihundertzweiundzwanzig"],
25+
["no", "three small words"]);
2626

2727
verify(/\b[^\We]+\b/i,
2828
["red platypus", "wobbling nest"],

0 commit comments

Comments
 (0)