Forum Discussion
Eric_St__John
Sep 09, 2014Employee
You shouldn't need regex for the specific use case you outlined. The following will look at the HTTP path(No parameters), to match against a path that ends with "-test".
when HTTP_REQUEST {
if { [HTTP::path] ends_with "-test" } {
do something
}
}