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

Commit

Permalink
fix(challenges): fixed regex in a challenge
Browse files Browse the repository at this point in the history
Fix the regex in use the strong tag to make the text bold in order to only accept Stanford
Yniversity

ISSUES CLOSED: freeCodeCamp/freeCodeCamp#17861
  • Loading branch information
Guy Even authored and scissorsneedfoodtoo committed Jul 15, 2018
1 parent 7f3ed42 commit c28aac0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@
"text":
"The <code>strong</code> tag should wrap around the words \"Stanford University\".",
"testString":
"assert($('strong').text().match(/Stanford University/gi), 'The <code>strong</code> tag should wrap around the words \"Stanford University\".');"
"assert($('strong').text().match(/^Stanford University$/gi), 'The <code>strong</code> tag should wrap around the words \"Stanford University\".');"
}
],
"solutions": [],
Expand Down

0 comments on commit c28aac0

Please sign in to comment.