fix(challenges): fixed regex in a challenge

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
This commit is contained in:
Guy Even
2018-07-12 00:03:23 +03:00
committed by Kristofer Koishigawa
parent 7f3ed42331
commit c28aac036d

View File

@ -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": [],