From 3085c229691f1ff4eba64224a171ee1462ae4be4 Mon Sep 17 00:00:00 2001 From: cdrainxv Date: Fri, 17 Feb 2017 21:15:37 -0700 Subject: [PATCH] moved comment to new line to remove overflow-x scrollbar --- .../regular-expressions.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenges/02-javascript-algorithms-and-data-structures/regular-expressions.json b/challenges/02-javascript-algorithms-and-data-structures/regular-expressions.json index c2f6a307042..ada5c735f03 100644 --- a/challenges/02-javascript-algorithms-and-data-structures/regular-expressions.json +++ b/challenges/02-javascript-algorithms-and-data-structures/regular-expressions.json @@ -305,7 +305,7 @@ "Using the hyphen (-) to match a range of characters is not limited to letters. It also works to match a range of numbers.", "For example, /[0-5]/ matches any number between 0 and 5, including the 0 and 5.", "Also, it is possible to combine a range of letters and numbers in a single character set.", - "
let jennyStr = \"Jenny8675309\";
let myRegex = /[a-z0-9]/ig;
jennyStr.match(myRegex); // matches all letters and numbers in jennyStr
", + "
let jennyStr = \"Jenny8675309\";
let myRegex = /[a-z0-9]/ig;
// matches all letters and numbers in jennyStr
jennyStr.match(myRegex);
", "
", "Create a single regex that matches a range of letters between h and s, and a range of numbers between 2 and 6. Remember to include the appropriate flags in the regex." ],