Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import sys
import re
s = sys.argv[1]
s = re.sub('⟮', '(', s)
s = re.sub('⟯', ')', s)
s = re.sub('│', '|', s)
s = re.sub('⭑', '*', s)
s = re.sub('⁺', '+', s)
s = re.sub('?', '?', s)
s = re.sub('ε', 'ϵ', s)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment