File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ export class UnicodeChar extends PExpr {
189189 this . pattern = UnicodeBinaryProperties [ categoryOrProp ] ;
190190 } else {
191191 throw new Error (
192- `Invalid Unicode category or property name: ${ JSON . stringify ( categoryOrProp ) } `
192+ `Invalid Unicode category or property name: ${ JSON . stringify ( categoryOrProp ) } ` ,
193193 ) ;
194194 }
195195 }
Original file line number Diff line number Diff line change @@ -1697,7 +1697,10 @@ export class Compiler {
16971697 asciiChars . map ( c => {
16981698 const isLowercase = 'a' <= c && c <= 'z' ;
16991699 const isUppercase = 'A' <= c && c <= 'Z' ;
1700- if ( ( exp . categoryOrProp === 'Lu' && isUppercase ) || ( exp . categoryOrProp === 'Ll' && isLowercase ) ) {
1700+ if (
1701+ ( exp . categoryOrProp === 'Lu' && isUppercase ) ||
1702+ ( exp . categoryOrProp === 'Ll' && isLowercase )
1703+ ) {
17011704 return w . labelidx ( asm . depthOf ( 'fastSuccess' ) ) ;
17021705 }
17031706 return w . labelidx ( asm . depthOf ( 'failure' ) ) ;
You can’t perform that action at this time.
0 commit comments