cache compiled regex, start benchmark tests