From 5ba5f8b79b001a278392a6eef458394f321badde Mon Sep 17 00:00:00 2001 From: duianto Date: Wed, 21 Nov 2018 15:23:38 +0100 Subject: [PATCH] Add a missing 0 --- .../09-regexp-groups/1-find-webcolor-3-or-6/task.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 3078a757..4efd6f61 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 @@ -8,7 +8,7 @@ let reg = /your regexp/g; let str = "color: #3f3; background-color: #AA00ef; and: #abcd"; -alert( str.match(reg) ); // #3f3 #AA0ef +alert( str.match(reg) ); // #3f3 #AA00ef ``` P.S. This should be exactly 3 or 6 hex digits: values like `#abcd` should not match.