1👍
✅
The pattern patternA/$
only matches URLs that end exactly with patternA/
. To match any URL that ends with patternA/
you need to use the pattern .*patternA/$
Source:stackexchange.com