[PATCH][C] Further bug fixing, regexp interval handling code.