Make ParsePattern public

The goal here is to make it easy for people to write thin wrappers
around the built-in Patterns.