OptionsPicker: Fix matching non-latin template vars in filter (#98416)

This commit is contained in:
Leon Sorokin 2024-12-31 06:05:28 -06:00 committed by GitHub
parent 7e4b05c268
commit e43e86376e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;