Closed ERuseckas closed 3 years ago
Passing valid regex:
interceptPattern: new RegExp(REGEX_STRING)
interceptPattern: /REGEX_STRING/
{}
If I convert valid regexp into string, then it's value is used as glob, not regex.
I see here 2 possible options:
interceptPattern
resolved in v3.1.2!
Passing valid regex:
interceptPattern: new RegExp(REGEX_STRING)
interceptPattern: /REGEX_STRING/
results in interceptPattern becoming as{}
If I convert valid regexp into string, then it's value is used as glob, not regex.
I see here 2 possible options:
interceptPattern
value to figure out is it regex or not