added visual regxp support