`not regex.test(path)` should be cooler as we don’t use match here