\w_ replaced with \w, thanks Osman
This commit is contained in:
1 parent
add8e6b173
commit
e51c78763e
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