Fix typo in readme.
Fix compiling escaped characters in pattern.
Catch only ValueErrors during pattern compilation.