Parse patterns early and throw errors if they seem to be malformed
1.1.1