From b862e62a62ed54676c4b225c0860c08eff027a0a Mon Sep 17 00:00:00 2001 From: David Diaz Date: Thu, 17 May 2018 10:43:31 -0600 Subject: [PATCH] : is valid as a variable when talking about hosts. --- src/shared.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared.js b/src/shared.js index 98139fb..8a7e68b 100644 --- a/src/shared.js +++ b/src/shared.js @@ -11,7 +11,7 @@ const httpVerbs = [ ]; const requestRegex = new RegExp(`(${httpVerbs.join('|')})\\s(.*)`, 'i'); -const replacementRegex = /(?:\\?)\$([a-zA-Z\.\d\-\_]+)/g; +const replacementRegex = /(?:\\?)\$([a-zA-Z\.\d\-\_\:]+)/g; const dynamicValueRegex = /\$\[(\w+\((?:.|[\n\r])*?\))\]/g; const UpperCaseKeys = function(obj) {