Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ python2 -c 'import re, sys; print(re.findall(r"\d", sys.argv[1]))' 123٤٥٦
- ['1', '2', '3']
- $ python3 -c 'import re, sys; print(re.findall(r"\d", sys.argv[1]))' 123٤٥٦
- ['1', '2', '3', '٤', '٥', '٦']
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement