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
| MULTIBYTE_FIRST_CHAR = "^([\192-\255]?%a?[\128-\191]*)" | |
| function GetNamePattern(name) | |
| local u = name:match(MULTIBYTE_FIRST_CHAR):upper() | |
| if not u or u:len() == 0 then Prat:Print("GetNamePattern: name error", name) return end | |
| local l = u:lower() | |
| local namepat |
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
| MULTIBYTE_FIRST_CHAR = "^([\192-\255]?%a?[\128-\191]*)" | |
| function GetNamePattern(name) | |
| local u = name:match(MULTIBYTE_FIRST_CHAR):upper() | |
| if not u or u:len() == 0 then Prat:Print("GetNamePattern: name error", name) return end | |
| local l = u:lower() | |
| local namepat | |
| if u == l then |
NewerOlder