Lines Matching refs:re

31 import re
449 match = re.match(r"^sphinx-build\s+([\d\.]+)(?:\+(?:/[\da-f]+)|b\d+)?\s*$", line)
453 match = re.match(r"^Sphinx.*\s+([\d\.]+)\s*$", line)
464 match = re.match(r"^\s*needs_sphinx\s*=\s*[\'\"]([\d\.]+)[\'\"]", line)
546 match = re.match(r"^([\w\d\_]+)=\"?([^\"]*)\"?\n", line)
747 match = re.search(r"(release|Linux)\s+(\d+)", self.system_release)
755 elif re.search("Fedora", self.system_release):
848 match = re.search(r"(Leap)\s+(\d+).(\d)", self.system_release)
907 if re.search(r"OpenMandriva", self.system_release):
1096 if not re.search(rf"\s*{arg}\b", line):
1125 re.compile("Red Hat Enterprise Linux"): self.give_redhat_hints,
1126 re.compile("Fedora"): self.give_redhat_hints,
1127 re.compile("AlmaLinux"): self.give_redhat_hints,
1128 re.compile("Amazon Linux"): self.give_redhat_hints,
1129 re.compile("CentOS"): self.give_redhat_hints,
1130 re.compile("openEuler"): self.give_redhat_hints,
1131 re.compile("Oracle Linux Server"): self.give_redhat_hints,
1132 re.compile("Rocky Linux"): self.give_redhat_hints,
1133 re.compile("Springdale Open Enterprise"): self.give_redhat_hints,
1135 re.compile("Ubuntu"): self.give_debian_hints,
1136 re.compile("Debian"): self.give_debian_hints,
1137 re.compile("Devuan"): self.give_debian_hints,
1138 re.compile("Kali"): self.give_debian_hints,
1139 re.compile("Mint"): self.give_debian_hints,
1141 re.compile("openSUSE"): self.give_opensuse_hints,
1143 re.compile("Mageia"): self.give_mageia_hints,
1144 re.compile("OpenMandriva"): self.give_mageia_hints,
1146 re.compile("Arch Linux"): self.give_arch_linux_hints,
1147 re.compile("Gentoo"): self.give_gentoo_hints,
1207 match = re.search(r"(\d+)\.(\d+)\.(\d+)", f)