[PATCH 4.16 30/72] tracing: Fix regex_match_front() to not over compare the test string