File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ import acceptRegex from 'shift-regexp-acceptor';
25
25
26
26
let isAccepted = acceptRegex (' [a-z]+' /* source */ ); // unicode is assumed
27
27
28
- let isAccepted = acceptRegex (' [a-z]+' /* source */ , { unicode: false }; // unicode mode disabled
28
+ let isAccepted = acceptRegex (' [a-z]+' /* source */ , { unicode: true }; // unicode mode enabled
29
29
30
30
` ` `
31
31
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ class PatternAcceptorState {
99
99
}
100
100
101
101
// acceptRegex
102
- export default ( pattern , { unicode = true } = { } ) => {
102
+ export default ( pattern , { unicode = false } = { } ) => {
103
103
let state = new PatternAcceptorState ( pattern , unicode ) ;
104
104
let accepted = acceptDisjunction ( state ) ;
105
105
if ( accepted . matched && state . unicode ) {
You can’t perform that action at this time.
0 commit comments