[PATCH 4.19 46/88] perf jevents: Fix suspicious code in fixregex()