diff --git a/tasks/angular-translate.js b/tasks/angular-translate.js index 36ea3a5..9d96d98 100644 --- a/tasks/angular-translate.js +++ b/tasks/angular-translate.js @@ -188,7 +188,7 @@ module.exports = function (grunt) { _.forEach(customRegex, function (regex, key) { if (_.isObject(customRegex) && !_.isArray(customRegex)) { - regexs[key] = key; + regexs[key] = regex; } else { regexs['others_' + key] = regex; }