fix behaviour when regex contains OR