cache tag invalidation needs to escape for regex

stumbled over this problem with a tag `[product/42]` that was not invalidated
applying preg_quote here is weird, as you don't seem to control the delimiters needing to be taken into account for the escaping (you don't pass a full regex). Is it expected ?

But it is indeed better than the previous code