Merge "Allow the include directive."
This commit is contained in:
commit
0252d6e5cf
1 changed files with 2 additions and 1 deletions
|
@ -56,7 +56,8 @@ def main():
|
||||||
glob = '[a-zA-Z0-9_\\.\\-\\*\\?]+'
|
glob = '[a-zA-Z0-9_\\.\\-\\*\\?]+'
|
||||||
globs = '(%s( *, *%s)*)' % (glob, glob)
|
globs = '(%s( *, *%s)*)' % (glob, glob)
|
||||||
perfile = 'per-file +' + globs + ' *= *' + directive
|
perfile = 'per-file +' + globs + ' *= *' + directive
|
||||||
pats = '(|%s|%s|%s)$' % (noparent, email, perfile)
|
include = 'include +([^ :]+ *: *)?[^ ]+'
|
||||||
|
pats = '(|%s|%s|%s|%s)$' % (noparent, email, perfile, include)
|
||||||
patterns = re.compile(pats)
|
patterns = re.compile(pats)
|
||||||
address_pattern = re.compile('([^@ ]+@[^ @]+)')
|
address_pattern = re.compile('([^@ ]+@[^ @]+)')
|
||||||
perfile_pattern = re.compile('per-file +.*=(.*)')
|
perfile_pattern = re.compile('per-file +.*=(.*)')
|
||||||
|
|
Loading…
Reference in a new issue