Return True if all characters in the string are
alphabetic and there is at least one character, False otherwise.
Alphabetic characters are those characters defined in the Unicodecharacter database as “Letter”, i.e., those with general category
property being one of “Lm”, “Lt”, “Lu”, “Ll”, or “Lo”. Note that this
is different from the “Alphabetic” property defined in the Unicode
Standard.
从文档:
^{}
这意味着您使用的utf字符在utf数据库中定义为字母
查看Wikipedia List of UTF characters,字符
ǃ
位于Latin Extended B之下,这就是为什么isalpha
返回True
检查Unicode Database中的字符。类似于
ǃ
(\u1c3
)的感叹号是一个字母:相关问题 更多 >
编程相关推荐