diff -r 485b8e87e244 -r e9fc5550be46 contrib/check-config.py --- a/contrib/check-config.py Thu Jun 15 10:38:19 2017 -0700 +++ b/contrib/check-config.py Thu Jun 15 10:58:36 2017 -0700 @@ -24,6 +24,16 @@ (?:default=)?(?P\S+?))? \)''', re.VERBOSE | re.MULTILINE) +configwithre = re.compile(''' + ui\.config(?Pwith)\( + # First argument is callback function. This doesn't parse robustly + # if it is e.g. a function call. + [^,]+,\s* + ['"](?P
\S+)['"],\s* + ['"](?P