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.
1 parent 265bf10 commit b4fdc14Copy full SHA for b4fdc14
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}\s_]+$/u.test(str);
19
20
21
export function replaceIllegalFileNameCharactersInString(string: string): string {
0 commit comments