-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cylc reg "[\n]\0 \/\/ exit
"
#2281
Comments
(From earlier office discussion) One option: Python string methods: chinese_string = u'中文。'
for char in chinese_string: print char, char.isalpha()
# > 中 True
# > 文 True
# > 。 False
# German
german_string = u'„Hallo! Grüß dich 666!“'
for char in german_string: print char, char.isalnum()
# true for all the letters, including non-English ones, false for all others.
# etc... Example here: https://github.com/dvalters/Notebooks/blob/master/is_it_a_letter.ipynb |
In theory, we should be able to get |
...I couldn't get that regex to work either |
I think we should revisit this one when we port cylc to Python 3 - #1874, when we can be sure that all strings are automatically Unicode. |
See also #51. |
We may want to roll this one into #2979 |
Please close. (The originator of this issue can do the honour.) |
Superseded by the more generic #2979 |
Currently cylc will let you register suites with unsafe characters. My favourites are:
The text was updated successfully, but these errors were encountered: