Update H9.php

now ->group() only executed if it matched  part of the current haystack