[PATCH 4.14 29/62] tracing: Fix regex_match_front() to not over compare the test string