Merge remote-tracking branch 'origin/master' into ap2_to_master

This commit is contained in:
Joona Hoikkala
2020-01-30 17:08:16 +02:00
132 changed files with 1924 additions and 922 deletions
@@ -705,7 +705,7 @@ class ApacheParser(object):
split_arg = arg.split("/")
for idx, split in enumerate(split_arg):
if any(char in ApacheParser.fnmatch_chars for char in split):
# Turn it into a augeas regex
# Turn it into an augeas regex
# TODO: Can this instead be an augeas glob instead of regex
split_arg[idx] = ("* [label()=~regexp('%s')]" %
self.fnmatch_to_re(split))