File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -227,5 +227,5 @@ exports.urxvt = new Map([
227
227
[ '[3;5;606t' , [ 'URxvt.keysym.C-M-y' ] ] ,
228
228
[ '[3;1605;5t' , [ 'URxvt.keysym.C-M-e' ] ] ,
229
229
[ '[3;1605;606t' , [ 'URxvt.keysym.C-M-c' ] ] ,
230
- [ ']710;9x15bold\x07 ' , [ 'URxvt.keysym.font' ] ]
230
+ [ ']710;9x15bold\u0007 ' , [ 'URxvt.keysym.font' ] ]
231
231
] ) ;
Original file line number Diff line number Diff line change 2
2
3
3
module . exports = ( ) => {
4
4
const pattern = [
5
- '[\\u001b\\u009b ][[\\]()#;?]*(?:(?:(?:[a-zA-Z0-9 ]*(?:;[a-zA-Z0-9 ]*)*)?\\x07 )' ,
6
- '(?:(?:[0-9] {1,4}(?:;[0-9] {0,4})*)?[0-9A -PRZcf-ntqry=><~]))'
5
+ '[\\u001B\\u009B ][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d ]*(?:;[a-zA-Z\\d ]*)*)?\\u0007 )' ,
6
+ '(?:(?:\\d {1,4}(?:;\\d {0,4})*)?[\\dA -PRZcf-ntqry=><~]))'
7
7
] . join ( '|' ) ;
8
8
9
9
return new RegExp ( pattern , 'g' ) ;
You can’t perform that action at this time.
0 commit comments