corrected an error with the regexp enhancer, which fixed a lot of strange behavior.