#43 gave some magic to Safe\preg_match
so that it returns a much more useful array - but phpstan now has even more magic so that if the return value of preg_match
is checked, we can then be sure whether or not certain match groups are set - we should do that for Safe too