Speeding up execution by 40% with one regex an 20% with two regexes.
Added benchmark script.