From 08fad556429dbaecb56a22cd69746e5304670890 Mon Sep 17 00:00:00 2001 From: Quincy Larson Date: Tue, 30 Jun 2015 23:21:34 -0700 Subject: [PATCH] more improvements to html.json --- challenges/basic-html5-and-css.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenges/basic-html5-and-css.json b/challenges/basic-html5-and-css.json index a2d698472f..61b29ed4d5 100644 --- a/challenges/basic-html5-and-css.json +++ b/challenges/basic-html5-and-css.json @@ -3606,7 +3606,7 @@ ], "tests": [ "assert($('body').css('background-color') === 'rgb(255, 0, 0)', 'Give your body element the background-color of red.')", - "assert(editor.match(/rgb\\s?\\(\\s?255\\s?,\\s?0,\\s?0\\s?\\)/ig), 'Use RGB code instead of hex for the color red. For example body: { color: rgb(255,0,0); }.')" + "assert(editor.match(/rgb\\s*\\(\\s*255\\s*,\\s*0\\s*,\\s*0\\s*\\)/ig), 'Use RGB code instead of hex for the color red. For example body: { color: rgb(255,0,0); }.')" ], "challengeSeed": [ "