@@ -1248,11 +1248,10 @@ with the way it responds to various input strings.
12481248
12491249{{index "program size", "code golf", "regexp golf (exercise)"}}
12501250
1251- _ Code
1252- golf_ is a term used for the game of trying to express a particular
1253- program in as few characters as possible. Similarly, _ regexp golf_ is
1254- the practice of writing as tiny a regular expression as possible to
1255- match a given pattern, and _ only_ that pattern.
1251+ _ Code golf_ is a term used for the game of trying to express a
1252+ particular program in as few characters as possible. Similarly,
1253+ _ regexp golf_ is the practice of writing as tiny a regular expression
1254+ as possible to match a given pattern, and _ only_ that pattern.
12561255
12571256{{index boundary, matching}}
12581257
@@ -1269,7 +1268,7 @@ make it any smaller.
12691268 4 . Any word ending in _ ious_
12701269 5 . A whitespace character followed by a period, comma, colon, or semicolon
12711270 6 . A word longer than six letters
1272- 7 . A word without the letter _ e_
1271+ 7 . A word without the letter _ e_ (or _ E _ )
12731272
12741273Refer to the table in the [ chapter summary] ( regexp#summary_regexp ) for
12751274help. Test each solution with a few test strings.
@@ -1304,7 +1303,7 @@ verify(/.../,
13041303
13051304verify(/.../,
13061305 ["red platypus", "wobbling nest"],
1307- ["earth bed", "learning ape"]);
1306+ ["earth bed", "learning ape", "BEET" ]);
13081307
13091308
13101309function verify(regexp, yes, no) {
0 commit comments