I have a url_regex acl: ^http(s)://bitbucket.org/example/*
However, it's matching the url: http(s)://bitbucket.org/example_test/*
This seems to not consider the "/" at the end of ^http(s)://bitbucket.org/example/*
I'd like to match anything with subfolder matching example. Eg: bitbucket.org/example/case_1 bitbucket.org/example/case_2 But not, bitbucket.org/example_bad/case_3
It seems like a special blend of regex and its not considering the "/" –
Can anyone see what is wrong here ?
*
would match zero or more of the previous atom (i.e./*
matches zero or more "/" characters. I suspect you want/.*
or perhaps just/