Skip to content

Commit

Permalink
Fix the config regex for the wiki generator
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed Aug 1, 2017
1 parent 5864072 commit 86d6cec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/lintlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
level_re = re.compile(r'''(Forbid|Deny|Warn|Allow)''')
conf_re = re.compile(r'''define_Conf! {\n([^}]*)\n}''', re.MULTILINE)
confvar_re = re.compile(
r'''/// Lint: (\w+). (.*).*\n\s*\("([^"]*)",\s+(?:[^,]*),\s+([^=]*)\s+=>\s+(.*)\),''', re.MULTILINE)
r'''/// Lint: (\w+). (.*).*\n\s*\([^,]+,\s+"([^"]+)",\s+([^=\)]+)=>\s+(.*)\),''', re.MULTILINE)


def parse_lints(lints, filepath):
Expand Down

0 comments on commit 86d6cec

Please sign in to comment.