You are viewing a single comment's thread. Return to all comments →
So why did this fail?
regex_integer_in_range = r"^[1-9][0-9]{5}$" regex_alternating_repetitive_digit_pair = r"(\d)\d?(\1)"
I know that regex_integer_in_range is fine, but what is it about regex_alternating_repetitive_digit_pair that won't work on all test cases?
Seems like cookies are disabled on this browser, please enable them to open this website
Validating Postal Codes
You are viewing a single comment's thread. Return to all comments →
So why did this fail?
I know that regex_integer_in_range is fine, but what is it about regex_alternating_repetitive_digit_pair that won't work on all test cases?