Merge pull request #3603 from ltegman/fix/find-white-space-explaination-2838

Fix Waypoint: Find White Space Explaination
This commit is contained in:
Anton Strömkvist
2015-10-08 16:19:46 +02:00

View File

@ -1059,13 +1059,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 <code>\\s</code> to find spaces in a string.",
"We can also use selectors like <code>\\s</code> to find whitespace in a string.",
"The whitespace characters are <code>\" \"</code> (space), <code>\\r</code> (carriage return), <code>\\n</code> (newline), <code>\\t</code> (tab), and <code>\\f</code> (form feed).",
"It is used like this:",
"<code>/\\s+/g</code>",
"Select all the spaces in the sentence string."
"Select all the whitespace characters in the sentence string."
],
"tests":[
"assert(test === 7, 'message: Your RegEx should have found seven spaces in the <code>testString</code>.');",