Advertisement
Fhernd

unicode-regex.py

Apr 18th, 2018
2,350
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.11 KB | None | 0 0
  1. import re
  2.  
  3. patron = re.compile('\d+')
  4.  
  5. print(patron.match('987'))
  6.  
  7. print(patron.match('\u0661\u0662\u0663'))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement