Store static regexps in constants for re-use
Anchor regexps with \A and \z
Merge pull request #156 from pd/constant-regexps

Store static regexps in constants for re-use