let looks_like_module_path ~configuration code = List.exists configuration#catch_module_paths ~f:(fun (_, re, _) -> Re.execp re code)