MehdiK/Humanizer — pull request #354 by dlras2 (2014-11-29 08:25:32+00:00)
Title: Removed unnecessary Regex constructors for #353

As per #353, `StringHumanizeExtensions.Humanize` and `StringHumanizeExtensions.FromPascalCase` no longer call the Regex constructor on each call. `Humanize` uses the static `Regex.IsMatch` method, and `FromPascalCase` instantiates its needed Regex once during the static constructor. See the new call traces below (taken from running the unit tests.)

![image](https://cloud.githubusercontent.com/assets/1567104/5233932/6ae58c16-776e-11e4-902e-9b901f92cb50.png)
![image](https://cloud.githubusercontent.com/assets/1567104/5233943/ea66a9de-776e-11e4-8796-e705ee648536.png)