We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 265bf10 + 7681c83 commit e7ea9abCopy full SHA for e7ea9ab
src/utils/Utils.ts
@@ -15,7 +15,7 @@ export function wrapAround(value: number, size: number): number {
15
}
16
17
export function containsOnlyLettersAndUnderscores(str: string): boolean {
18
- return /^[a-zA-Z_]+$/.test(str);
+ return /^[\p{Letter}\p{M}_]+$/u.test(str);
19
20
21
export function replaceIllegalFileNameCharactersInString(string: string): string {
0 commit comments