From 6d01c143ddce8c7fc6571afc74f5f651fe26b987 Mon Sep 17 00:00:00 2001 From: Peter Benjamin Date: Wed, 6 Jan 2016 11:00:09 +0000 Subject: [PATCH] Improve description of Waypoint: Find Numbers with Regular Expressions Add period at end of sentence on line 4108 of basic-javascript.json Add period at end of sentence --- .../basic-javascript.json | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/seed/challenges/01-front-end-development-certification/basic-javascript.json b/seed/challenges/01-front-end-development-certification/basic-javascript.json index 81fc7cc565..83a2f592dc 100644 --- a/seed/challenges/01-front-end-development-certification/basic-javascript.json +++ b/seed/challenges/01-front-end-development-certification/basic-javascript.json @@ -4101,10 +4101,11 @@ "id": "cf1111c1c12feddfaeb7bdef", "title": "Find Numbers with Regular Expressions", "description": [ - "We can use special selectors in Regular Expressions to select a particular type of value.", - "One such selector is the digit selector \\d which is used to retrieve the numbers in a string.", - "It is used like this: /\\d/g.", - "For numbers this is often written as /\\d+/g, where the + following the digit selector allows this regular expression to match one or more numbers.", + "We can use special selectors in Regular Expressions to select a particular type of value.", + "One such selector is the digit selector \\d which is used to retrieve one digit (e.g. numbers 0 to 9) in a string.", + "In JavaScript, it is used like this: /\\d/g.", + "Appending a plus sign (+) after the selector, e.g. /\\d+/g, allows this regular expression to match one or more digits.", + "The trailing g is short for 'global', which allows this regular expression to find all matches rather than stop at the first match.", "

Instructions

", "Use the \\d selector to select the number of numbers in the string, allowing for the possibility of one or more digit." ],