Skip to content

Commit

Permalink
Regex and Parsing!
Browse files Browse the repository at this point in the history
  • Loading branch information
snehalmastud authored Feb 23, 2020
1 parent c7c9d5e commit 37d1bfd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Regex and Parsing/Validating Postal Codes/Solution.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@


regex_integer_in_range =r'^[1-9][\d]{5}$' # Do not delete 'r'.
regex_alternating_repetitive_digit_pair = r'(\d)(?=\d\1)' # Do not delete 'r'.

0 comments on commit 37d1bfd

Please sign in to comment.