Merge pull request #162 from ltctceplrm/foreignlanguage
Added support for remapping fields to foreign languages
This commit is contained in:
commit
e7ea9ab41a
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ export function wrapAround(value: number, size: number): number {
|
|||
}
|
||||
|
||||
export function containsOnlyLettersAndUnderscores(str: string): boolean {
|
||||
return /^[a-zA-Z_]+$/.test(str);
|
||||
return /^[\p{Letter}\p{M}_]+$/u.test(str);
|
||||
}
|
||||
|
||||
export function replaceIllegalFileNameCharactersInString(string: string): string {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue