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:
committed by
Kristofer Koishigawa
parent
7f3ed42331
commit
c28aac036d
@ -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": [],
|
||||
|
Reference in New Issue
Block a user