this is the breakdown of the pattern from regex101
You are not using lazy matching, but it passes anyway it seems - it’s really difficult to create tests that can evaluate correctly anything that the user can write, so there can be various possible things that passes the tests but still do not match the requirements
you can create a Bug Report if you want
Thank you for helping make FCC better. Bugs can be reported as GitHub Issues. Whenever reporting a bug, please check first that there isn’t already an issue for it and provide as much detail as possible.