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

This commit is contained in:
mdipierro committed 2014-01-08 11:32:07 -06:00
1 parent 1caf7b5140
commit 6bbafc5920
4 files changed
+13 -7

No files matched your search

+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*\}\})')