Fix `Stack overflow in regexp matcher' match error on some linux distribution. (regexp engine difference)