Multiple-cursors extension for phi-search