Last active
September 4, 2020 17:55
-
-
Save dcloud/867e2e8b107a4201a05a to your computer and use it in GitHub Desktop.
That is so cool
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Curly/Educated marks are \u2018-\u201F in Unicode | |
# python | |
re.findall(u'[\u2018-\u201F]', apage) | |
# bash | |
for i in $(seq 0x2018 0x201F); do | |
echo "char: \u$(( [##16]i ))" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
:.s/\(\%u201C\\|\%u201D\)/"/g