match regexp reports end of input error