Skip to content

Commit e7ea9ab

Browse files
Merge pull request #162 from ltctceplrm/foreignlanguage
Added support for remapping fields to foreign languages
2 parents 265bf10 + 7681c83 commit e7ea9ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/Utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export function wrapAround(value: number, size: number): number {
1515
}
1616

1717
export function containsOnlyLettersAndUnderscores(str: string): boolean {
18-
return /^[a-zA-Z_]+$/.test(str);
18+
return /^[\p{Letter}\p{M}_]+$/u.test(str);
1919
}
2020

2121
export function replaceIllegalFileNameCharactersInString(string: string): string {

0 commit comments

Comments
 (0)