[PATCH 3.18 21/23] tracing: Fix regex_match_front() to not over compare the test string