From 91708a33162e3cd2b4c2c0da164c14b74f2e3afa Mon Sep 17 00:00:00 2001 From: Logan Tegman Date: Mon, 5 Oct 2015 22:50:09 -0700 Subject: [PATCH] Fix Waypoint: Find White Space Explaination Changed text description to make it clear that `\s` is used to find all types of whitespace characters, not just `" "`. Closes #2838 --- seed/challenges/basic-javascript.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/seed/challenges/basic-javascript.json b/seed/challenges/basic-javascript.json index 13c28c20210..213a5f745ed 100644 --- a/seed/challenges/basic-javascript.json +++ b/seed/challenges/basic-javascript.json @@ -1081,10 +1081,11 @@ "title": "Find White Space with Regular Expressions", "difficulty":"9.986", "description":[ - "We can also use selectors like \\s to find spaces in a string.", + "We can also use selectors like \\s to find white space in a string.", + "The white space characters are \" \" (space), \\r (carriage return), \\n (newline), \\t (tab), \\f (form feed).", "It is used like this:", "/\\s+/g", - "Select all the spaces in the sentence string." + "Select all the white space characters in the sentence string." ], "tests":[ "assert(test === 7, 'Your RegEx should have found seven spaces in the testString.');",