You are viewing a single comment's thread. Return to all comments →
This is annoying: I got WA on previous challenge because I didn't use ^ and $ for begin and end of the expression.
But in this one I got WA because I used those.
So, it's never clear if the expression should or shouldn't accept strings that have something exra after the match
Seems like cookies are disabled on this browser, please enable them to open this website
Matching Digits & Non-Digit Characters
You are viewing a single comment's thread. Return to all comments →
This is annoying: I got WA on previous challenge because I didn't use ^ and $ for begin and end of the expression.
But in this one I got WA because I used those.
So, it's never clear if the expression should or shouldn't accept strings that have something exra after the match