revert unicode regex since it's still not supported by ff

This commit is contained in:
zadam 2019-12-09 23:08:32 +01:00
parent 7554cb057b
commit 882ebdbd8f

View file

@ -77,7 +77,7 @@ async function stopWatch(what, func) {
} }
function formatValueWithWhitespace(val) { function formatValueWithWhitespace(val) {
return /[^\p{L}_-]/u.test(val) ? '"' + val + '"' : val; return /[^\w_-]/.test(val) ? '"' + val + '"' : val;
} }
function formatLabel(label) { function formatLabel(label) {