From 57d0e5750bb050330811c219eb2c729c48bebea3 Mon Sep 17 00:00:00 2001 From: Logan Tegman Date: Mon, 5 Oct 2015 22:50:09 -0700 Subject: [PATCH 1/2] 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 --- challenges/basic-javascript.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/challenges/basic-javascript.json b/challenges/basic-javascript.json index 13c28c2021..213a5f745e 100644 --- a/challenges/basic-javascript.json +++ b/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.');", From 668852fdc797e82677611494b9e7a3fa95a08221 Mon Sep 17 00:00:00 2001 From: Logan Tegman Date: Tue, 6 Oct 2015 08:45:21 -0700 Subject: [PATCH 2/2] Fix Waypoint: Find Whitespace spelling and grammar. --- challenges/basic-javascript.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/challenges/basic-javascript.json b/challenges/basic-javascript.json index 213a5f745e..47790e5e0e 100644 --- a/challenges/basic-javascript.json +++ b/challenges/basic-javascript.json @@ -1078,14 +1078,14 @@ }, { "id":"cf1111c1c12feddfaeb8bdef", - "title": "Find White Space with Regular Expressions", + "title": "Find Whitespace with Regular Expressions", "difficulty":"9.986", "description":[ - "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).", + "We can also use selectors like \\s to find whitespace in a string.", + "The whitespace characters are \" \" (space), \\r (carriage return), \\n (newline), \\t (tab), and \\f (form feed).", "It is used like this:", "/\\s+/g", - "Select all the white space characters in the sentence string." + "Select all the whitespace characters in the sentence string." ], "tests":[ "assert(test === 7, 'Your RegEx should have found seven spaces in the testString.');",