diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641cf198ec366c33d6504854.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641cf198ec366c33d6504854.md index db22a7b6b2f..fa46e655235 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641cf198ec366c33d6504854.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/641cf198ec366c33d6504854.md @@ -23,12 +23,16 @@ Your `helpRegex` should match the string `please help`. ```js assert.match('please help', helpRegex); +const splitRegex = helpRegex.toString().split(/[\/|]/); +assert.include(splitRegex, 'please help'); ``` Your `helpRegex` should match the string `assist me`. ```js assert.match('assist me', helpRegex); +const splitRegex = helpRegex.toString().split(/[\/|]/); +assert.include(splitRegex, 'assist me'); ``` # --seed--