Tokenizer: Fix wrong alpha* helpers
This commit is contained in:
parent
9cc468a997
commit
afbdf9151c
1 changed files with 3 additions and 3 deletions
|
@ -540,15 +540,15 @@ export class Tokenizer {
|
||||||
}
|
}
|
||||||
|
|
||||||
private asciiUpperAlpha(input: string): boolean {
|
private asciiUpperAlpha(input: string): boolean {
|
||||||
return /[^\u0041-\u005A]/.test(input);
|
return /[\u0041-\u005A]/.test(input);
|
||||||
}
|
}
|
||||||
|
|
||||||
private asciiLowerAlpha(input: string): boolean {
|
private asciiLowerAlpha(input: string): boolean {
|
||||||
return /[^\u0061-\u007A]/.test(input);
|
return /[\u0061-\u007A]/.test(input);
|
||||||
}
|
}
|
||||||
|
|
||||||
private asciiDigit(input: string): boolean {
|
private asciiDigit(input: string): boolean {
|
||||||
return /[^\u0030-\u0030]/.test(input);
|
return /[\u0030-\u0030]/.test(input);
|
||||||
}
|
}
|
||||||
|
|
||||||
private reconsumeIn(state: State): void {
|
private reconsumeIn(state: State): void {
|
||||||
|
|
Loading…
Reference in a new issue