Lines Matching refs:search
71 m = cpr_line.search(line)
84 if regex.search(line):
90 if modified.search(line):
93 if derived.search(line):
97 if lower.search(line):
99 elif upper.search(line) and not lower.search(line):
121 if re.search(r'NetBSD', copyright):
123 if (re.search(r'Redistributions *(of)? *source +code', copyright) and
124 re.search(r'Redistributions +in +binary +form', copyright)):
125 if re.search(r'[tT]he +names? of', copyright):
129 if (re.search(r'University', copyright) and
130 re.search(r'California', copyright) and
131 re.search(r'Berkeley', copyright)):
133 if re.search(r'FreeBSD', copyright):
135 if (re.search(r'AGPL', copyright) or
136 re.search(r'Affero General Public License', copyright)):
137 if re.search(r'version 3', copyright):
140 if re.search(r'the GPL', copyright):
141 if re.search(r'version 2', copyright):
143 if re.search(r'version 3', copyright):
203 para = re.search(r'\n\n', copyright, re.S)
204 all = re.search(r'all rights reserved\.?', copyright, re.I | re.S)
205 licensed = re.search(r'This ', copyright, re.I | re.S)
206 portions = re.search(r'Portions', copyright, re.I | re.S)
207 mod = re.search(r'modification', copyright, re.I | re.S)
208 perm = re.search(r'permission to', copyright, re.I | re.S)
209 public = re.search(r'public domain', copyright, re.I | re.S)
330 m = re.search(pattern, text)
336 return re.search(pattern, text)
386 if re.search(r'troff', m):
388 elif re.search(r'C source', m):
390 elif (re.search(r'POSIX shell script', m) or
391 re.search(r'Bourne-Again shell script', m) or
392 re.search(r'Python script', m) or
393 re.search(r'Perl script', m) or