Provided by rpluem.
Backport of r1918576 from trunk.
CTR.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@
1918577 13f79535-47bb-0310-9956-
ffa450edef68
if 0 == r.exit_code:
lines = re.findall(r'[^\n]*\n', r.stdout, re.MULTILINE)
for lidx, l in enumerate(lines):
- m = re.match(r'\s*(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+/(.*)', l)
+ m = re.match(r'\s*(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+/*(/.*)', l)
if m:
assets.append({
"path": m.group(7),