We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c2d98f commit 74edcb9Copy full SHA for 74edcb9
translate.js
@@ -54,7 +54,7 @@ const translate = (doc, lang, force) => {
54
};
55
56
57
-const isKey = val => !!val.match(/^[a-zA-Z0-9.]*$/);
+const isKey = val => !!val.match(/^[a-zA-Z0-9.\-\_]*$/);
58
59
module.exports = translate;
60
0 commit comments