find_pred function is return an address to NULL pointer, but I think we don't hope it. So fix it. BTW, it could never happen, as the syntax is checked in regex prior to it.