diff --git a/challenges/01-front-end-development-certification/basic-bonfires.json b/challenges/01-front-end-development-certification/basic-bonfires.json
index 9aa4d72844..6e368351b0 100644
--- a/challenges/01-front-end-development-certification/basic-bonfires.json
+++ b/challenges/01-front-end-development-certification/basic-bonfires.json
@@ -374,7 +374,7 @@
"assert(confirmEnding(\"Open sesame\", \"same\") === true, 'message: confirmEnding(\"Open sesame\", \"same\")
should return true.');",
"assert(confirmEnding(\"Open sesame\", \"pen\") === false, 'message: confirmEnding(\"Open sesame\", \"pen\")
should return false.');",
"assert(confirmEnding(\"If you want to save our world, you must hurry. We dont know how much longer we can withstand the nothing\", \"mountain\") === false, 'message: confirmEnding(\"If you want to save our world, you must hurry. We dont know how much longer we can withstand the nothing\", \"mountain\")
should return false.');",
- "assert(!/\\.endsWith\\(.*?\\)\\s*?;/.test(code), 'message: Do not use the built-in method .endsWith()
to solve the challenge.');"
+ "assert(!/\\.endsWith\\(.*?\\)\\s*?;?/.test(code), 'message: Do not use the built-in method .endsWith()
to solve the challenge.');"
],
"type": "bonfire",
"isRequired": true,