fix fast path regexp