make regexp not compile for empty rop search