Prevent patterns being replaced from being interpreted with Group references.