X-Git-Url: https://git.r.bdr.sh/rbdr/cologne/blobdiff_plain/b3847a2e355c1c5113eb99eb1a755535bd225998..a3486315ea2bf472f83a7f5217660c492514c4fd:/lib/formatters/token.js?ds=sidebyside diff --git a/lib/formatters/token.js b/lib/formatters/token.js index 2ec3a17..05895fa 100644 --- a/lib/formatters/token.js +++ b/lib/formatters/token.js @@ -34,9 +34,9 @@ module.exports = class TokenFormatter { * @instance * @memberof Formatters.Token * @type RegExp - * @default /{{(.*)}}/g + * @default /{{(.{1,255}?)}}/g */ - this.replaceRule = /{{(.*?)}}/g; + this.replaceRule = /{{(.{1,255}?)}}/g; /** * Flag that specifies whether or not to use an isoDate when using