From 12e923e76af5c4aefd2515d8de7ce9fc34730d79 Mon Sep 17 00:00:00 2001 From: Kris Koishigawa Date: Mon, 20 Dec 2021 17:46:41 +0900 Subject: [PATCH] fix: make most regex tests case insensitive, add note about casing for filename --- .../step-001.md | 2 +- .../step-007.md | 6 +++--- .../step-050.md | 2 +- .../step-051.md | 2 +- .../step-061.md | 2 +- .../step-067.md | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-001.md b/curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-001.md index b56b9656ea..8669316c4f 100644 --- a/curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-001.md +++ b/curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-001.md @@ -46,7 +46,7 @@ assert(code.match(//gi)); Your `html` element should have a closing tag. ```js -assert(code.match(/<\/html\s*>/)); +assert(code.match(/<\/html\s*>/gi)); ``` Your `html` element should be below the `DOCTYPE` declaration. diff --git a/curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-007.md b/curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-007.md index 65e2bd7dc4..c82ce980a8 100644 --- a/curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-007.md +++ b/curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-007.md @@ -16,7 +16,7 @@ Nest a `link` element within the `head`. Give it a `rel` attribute set to `style Your code should have one `link` element. ```js -assert(code.match(/(.|\r|\n)*<\/head>/i)?.[0]; -assert(head.match(/