[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:
grafana-delivery-bot[bot]
2024-12-31 14:26:05 +02:00
committed by GitHub
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;