mirror of https://github.com/Seich/Beau.git
: is valid as a variable when talking about hosts. (#25)
This commit is contained in:
parent
c0923dcce5
commit
a9ba5b0bb7
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue