diff --git a/assets/plugins/input-mask/jquery.inputmask.numeric.extensions.js b/assets/plugins/input-mask/jquery.inputmask.numeric.extensions.js index 2efb33f4..2ce1f725 100644 --- a/assets/plugins/input-mask/jquery.inputmask.numeric.extensions.js +++ b/assets/plugins/input-mask/jquery.inputmask.numeric.extensions.js @@ -167,7 +167,7 @@ Optional extensions on the jquery.inputmask base regex: { number: function (opts) { var escapedGroupSeparator = $.inputmask.escapeRegex.call(this, opts.groupSeparator); - var signedExpression = opts.allowPlus || opts.allowMinus ? "[" + (opts.allowPlus ? "\+" : "") + (opts.allowMinus ? "-" : "") + "]?" : ""; + var signedExpression = opts.allowPlus || opts.allowMinus ? "[" + (opts.allowPlus ? "+" : "") + (opts.allowMinus ? "-" : "") + "]?" : ""; return new RegExp("^" + signedExpression + "(\\d+|\\d{1," + opts.groupSize + "}((" + escapedGroupSeparator + "\\d{" + opts.groupSize + "})?)+)$"); } },