mirror of https://github.com/Seich/Beau.git
We now allow slashes in aliases.
This commit is contained in:
parent
24a0fdf788
commit
78a12e99f2
|
|
@ -11,7 +11,7 @@ const httpVerbs = [
|
||||||
];
|
];
|
||||||
|
|
||||||
const requestRegex = new RegExp(`(${httpVerbs.join('|')})\\s(.*)`, 'i');
|
const requestRegex = new RegExp(`(${httpVerbs.join('|')})\\s(.*)`, 'i');
|
||||||
const replacementRegex = /\$([a-zA-Z\.\d\-\_]*)/g;
|
const replacementRegex = /\$([a-zA-Z\.\d\-\_\/\\]*)/g;
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
httpVerbs,
|
httpVerbs,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue