[v11.4.x] OptionsPicker: Fix matching non-latin template vars in filter (#98425)
OptionsPicker: Fix matching non-latin template vars in filter (#98416)
(cherry picked from commit e43e86376e)
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
This commit is contained in:
co-authored by
Leon Sorokin
parent
2c408c8139
commit
ea930b2a51
@@ -9,7 +9,7 @@ import { ALL_VARIABLE_VALUE } from '../../constants';
|
||||
import { isMulti, isQuery } from '../../guard';
|
||||
|
||||
// https://catonmat.net/my-favorite-regex :)
|
||||
const REGEXP_NON_ASCII = /[^ -~]/gm;
|
||||
const REGEXP_NON_ASCII = /[^ -~]/m;
|
||||
|
||||
export interface ToggleOption {
|
||||
option?: VariableOption;
|
||||
|
||||
Reference in New Issue
Block a user