: is valid as a variable when talking about hosts.

This commit is contained in:
David Diaz 2018-05-17 10:43:31 -06:00
parent c0923dcce5
commit b862e62a62
1 changed files with 1 additions and 1 deletions

View File

@ -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) {