Fix instance regex