\w_ replaced with \w, thanks Osman

This commit is contained in:
mdipierro committed 2012-08-15 09:12:55 -05:00
1 parent 91c88d56eb
commit f25e92d443
6 files changed
+8 -8

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ import re
# pattern to find defined tables
regex_tables = re.compile(\
"""^[\w]+\.define_table\(\s*[\'\"](?P<name>[\w_]+)[\'\"]""",
"""^[\w]+\.define_table\(\s*[\'\"](?P<name>\w+)[\'\"]""",
flags=re.M)
# pattern to find exposed functions in controller