\w_ replaced with \w, thanks Osman
This commit is contained in:
1 parent
91c88d56eb
commit
f25e92d443
6 files changed
+8
-8
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user