0
Problem with phone number validator task in regular expressions module In python
I got a problem with the phone number validator assignment in the regular expressions module in python. My code works with all test cases except number 3 and I am not sure why. I would appreciate some ideas. https://code.sololearn.com/c0CLk42nh4Vj/?ref=app
2 Réponses
+ 1
it may need '^' and '#x27; to specify the beggining and end
+ 1
Although, I don't get the logic behind it, specifying the end worked. Thanks