fixed 1843, commented functions should not appear as if they are exposed

This commit is contained in:
mdipierro
2014-01-08 11:32:07 -06:00
parent 1caf7b5140
commit 6bbafc5920
4 changed files with 13 additions and 7 deletions
+2
View File
@@ -21,6 +21,8 @@ regex_expose = re.compile(
'^def\s+(?P<name>_?[a-zA-Z0-9]\w*)\( *\)\s*:',
flags=re.M)
regex_longcomments = re.compile('(""".*?"""|'+"'''.*?''')",re.DOTALL)
regex_include = re.compile(
'(?P<all>\{\{\s*include\s+[\'"](?P<name>[^\'"]*)[\'"]\s*\}\})')