Fix regexp handling in flx. Prepare for new pointer methods.