Patterns need to be regex-compatible