When either a Z or a underscore (_) appears on the right hand side of a :: it is matched as suspicious content, and the string is filtered away.
I believe what is intended to be matched as suspicious content is \Z, _ (and %) but since we already match backslash , these are superfluous and seems to be causing issues.