fix console prompt regexp