Added zap-to-char.
Corrected bcsearch in regrest.c.