From e9e286a612593d95c2a4841ba0b5d157e43475f9 Mon Sep 17 00:00:00 2001 From: Fabian Mieller Date: Thu, 19 Jul 2018 14:01:54 +0200 Subject: [PATCH] add missing tokenRegex argument --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 57ba091..4b93638 100644 --- a/index.js +++ b/index.js @@ -384,8 +384,8 @@ Polyglot.prototype.has = function (key) { }; // export transformPhrase -Polyglot.transformPhrase = function transform(phrase, substitutions, locale) { - return transformPhrase(phrase, substitutions, locale); +Polyglot.transformPhrase = function transform(phrase, substitutions, locale, tokenRegex) { + return transformPhrase(phrase, substitutions, locale, tokenRegex); }; module.exports = Polyglot;