Skip to content
This repository has been archived by the owner on Sep 25, 2019. It is now read-only.

Commit

Permalink
fix(challenges): fix regex to allow redundant space characters
Browse files Browse the repository at this point in the history
  • Loading branch information
mpmaan authored and scissorsneedfoodtoo committed Jul 13, 2018
1 parent f147430 commit 8b99b8b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1301,7 +1301,7 @@
{
"text": "valid <code>import</code> statement",
"testString":
"getUserInput => assert(getUserInput('index').match(/import\\s+\\{\\s?capitalizeString\\s?\\}\\s+from\\s+(\"|')string_functions\\1/g), 'valid <code>import</code> statement');"
"getUserInput => assert(getUserInput('index').match(/import\\s+\\{\\s*capitalizeString\\s*\\}\\s+from\\s+(\"|')string_functions\\1/g), 'valid <code>import</code> statement');"
}
],
"releasedOn": "Feb 17, 2017",
Expand Down

0 comments on commit 8b99b8b

Please sign in to comment.