Home | History | Annotate | Download | only in bin

Lines Matching refs:re

9 import os, re
140 not_inst_pattern = re.compile('not-installed', re.IGNORECASE)
141 dpkg_not_installed = re.search(not_inst_pattern, package_status)
201 package_pattern = re.compile('RPM', re.IGNORECASE)
203 package_pattern = re.compile('Debian', re.IGNORECASE)
205 result = re.search(package_pattern, file_result)
271 deb_pattern = re.compile('[A-Za-z0-9_.-]*[.][d][e][b]')
274 converted_package = re.findall(deb_pattern, conv_output)[0]
276 rpm_pattern = re.compile('[A-Za-z0-9_.-]*[.][r][p][m]')
279 converted_package = re.findall(rpm_pattern, conv_output)[0]