Use regexp isearching instead of vanilla