Added code for benchmarking regexes used in the module.