`<exclude-pattern>*\.(?!php$)</exclude-pattern>` This regex needs changing. But it is not a standard flavor of regex. I guess `*` is a wildcard, and everything else is the same? Hmm.