Package web2py :: Package gluon :: Module myregex
[hide private]
[frames] | no frames]

Module myregex

source code

This file is part of the web2py Web Framework Copyrighted by Massimo Di Pierro <mdipierro@cs.depaul.edu> License: LGPLv3 (http://www.gnu.org/licenses/lgpl.html)

Variables [hide private]
  regex_tables = re.compile(r'(?m)^\w+\.define_table\(\s*[\'"](?...
  regex_expose = re.compile(r'(?m)^def\s+(?P<name>(?:[a-zA-Z0-9]...
  regex_include = re.compile(r'(?P<all>\{\{\s*include\s+[\'"](?P...
  regex_extend = re.compile(r'(?m)^\s*(?P<all>\{\{\s*extend\s+[\...
Variables Details [hide private]

regex_tables

Value:
re.compile(r'(?m)^\w+\.define_table\(\s*[\'"](?P<name>[\w_]+)[\'"]')

regex_expose

Value:
re.compile(r'(?m)^def\s+(?P<name>(?:[a-zA-Z0-9]\w*)|(?:_[a-zA-Z0-9]\w*\
))\(\)\s*:')

regex_include

Value:
re.compile(r'(?P<all>\{\{\s*include\s+[\'"](?P<name>[^\'"]*)[\'"]\s*\}\
\})')

regex_extend

Value:
re.compile(r'(?m)^\s*(?P<all>\{\{\s*extend\s+[\'"](?P<name>[^\'"]+)[\'\
"]\s*\}\})')