From 950af8cf397cf31f354f451901420e885ef48bd0 Mon Sep 17 00:00:00 2001 From: Michal Frystacky Date: Mon, 29 Oct 2018 16:24:31 -0800 Subject: [PATCH] Update task.md Grammar, spelling, and some clarifications --- .../09-regexp-groups/1-find-webcolor-3-or-6/task.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/5-regular-expressions/09-regexp-groups/1-find-webcolor-3-or-6/task.md b/5-regular-expressions/09-regexp-groups/1-find-webcolor-3-or-6/task.md index c23097c0..3078a757 100644 --- a/5-regular-expressions/09-regexp-groups/1-find-webcolor-3-or-6/task.md +++ b/5-regular-expressions/09-regexp-groups/1-find-webcolor-3-or-6/task.md @@ -1,6 +1,6 @@ # Find color in the format #abc or #abcdef -Write a regexp that matches colors in the format `#abc` or `#abcdef`. That is: `#` followed by 3 or 6 hexadimal digits. +Write a RegExp that matches colors in the format `#abc` or `#abcdef`. That is: `#` followed by 3 or 6 hexadecimal digits. Usage example: ```js @@ -11,4 +11,4 @@ let str = "color: #3f3; background-color: #AA00ef; and: #abcd"; alert( str.match(reg) ); // #3f3 #AA0ef ``` -P.S. Should be exactly 3 or 6 hex digits: values like `#abcd` should not match. +P.S. This should be exactly 3 or 6 hex digits: values like `#abcd` should not match.