change order of next_ match to allow for negations