Fix regex
Merge pull request #57 from amalloy/perf

Fix regex