Lines Matching +full:shebang +full:- +full:regex
2 # coding=utf-8
9 # http://www.apache.org/licenses/LICENSE-2.0
54 # A regular expression to make a range of years in the form <year1>-<year2>.
58 YEAR_RANGE_REGEX += str(year1) + '-' + str(year2) + '|'
59 YEAR_RANGE_REGEX = YEAR_RANGE_REGEX[:-1] + ')'
62 # regex to make sure it matches one of them.
81 http://www.apache.org/licenses/LICENSE-2.0
109 """Returns glob-matching filenames under the current directory, but skips
112 'build*', 'out*'], ['./utils/clang-format-diff.py'])
116 """Returns true if line is all whitespace or shebang."""
122 """Returns commented-out text.
132 """Finds all glob-matching files under the current directory and inserts the
136 The copyright message goes into the first non-whitespace, non-shebang line
186 Finds all glob-matching files under the current directory and checks if they
198 with open(file, encoding='utf-8') as contents:
222 self.add_argument('--update', dest='author', action='store',
238 print('error: --update argument must be in the AUTHORS list in '