#57 Escape regexp patterns before use