From fa4ddea15520d45de8eede22ea9d92665e5117e7 Mon Sep 17 00:00:00 2001 From: Quentin REY <8548174+quentin-rey@users.noreply.github.com> Date: Wed, 16 Jan 2019 00:25:02 +0100 Subject: [PATCH] Correction Spolier -> Spoiler (#34474) --- .../specify-upper-and-lower-number-of-matches/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/english/certifications/javascript-algorithms-and-data-structures/regular-expressions/specify-upper-and-lower-number-of-matches/index.md b/guide/english/certifications/javascript-algorithms-and-data-structures/regular-expressions/specify-upper-and-lower-number-of-matches/index.md index 8b50bc9246..c2ab868789 100644 --- a/guide/english/certifications/javascript-algorithms-and-data-structures/regular-expressions/specify-upper-and-lower-number-of-matches/index.md +++ b/guide/english/certifications/javascript-algorithms-and-data-structures/regular-expressions/specify-upper-and-lower-number-of-matches/index.md @@ -16,7 +16,7 @@ myRegex.test(threeAs) ; // true myRegex.test(fourAs) ; // true myRegex.test(sevenAs) ; // true ``` -## Spolier Alert! +## Spoiler Alert! Remember to use `\s` after `Oh{3,6}` to include a white space, followed by `no` to pass all test cases. All test cases are written using a capital O, however the testcases could also be passed by using `ignore-case` : `/oh{3,6}\sno/i`