[fix crash in regexec.c]