Return True if the given UTF-8 encoded character is alphanumeric or multibyte. Input is not checked!
(c)
| 131 | |
| 132 | |
| 133 | def _isalnumMUTF8(c): |
| 134 | """Return True if the given UTF-8 encoded character is alphanumeric |
| 135 | or multibyte. |
| 136 | |
| 137 | Input is not checked! |
| 138 | """ |
| 139 | return c.isalnum() or (len(c.encode("utf-8")) > 1) |
| 140 | |
| 141 | |
| 142 | def is_valid_nc3_name(s): |
no test coverage detected
searching dependent graphs…