Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import re
- patron = re.compile('\d+')
- print(patron.match('987'))
- print(patron.match('\u0661\u0662\u0663'))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement