regex simplification

This commit is contained in:
mdipierro
2012-12-06 16:56:29 -06:00
parent 5e7de996e0
commit c574a97cad
3 changed files with 3 additions and 3 deletions

View File

@@ -1 +1 @@
Version 2.3.0 (2012-12-05 16:48:37) rc1
Version 2.3.0 (2012-12-06 16:55:43) rc1

View File

@@ -29,7 +29,7 @@
device-width: Occupy full width of the screen in its current orientation
initial-scale = 1.0 retains dimensions instead of zooming out if page height > device height
user-scalable = yes allows the user to zoom in -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shortcut icon" href="{{=URL('static','images/favicon.ico')}}" type="image/x-icon">
<link rel="apple-touch-icon" href="{{=URL('static','images/favicon.png')}}">

View File

@@ -18,7 +18,7 @@ regex_tables = re.compile(
# pattern to find exposed functions in controller
regex_expose = re.compile(
'^def\s+(?P<name>(?:[a-zA-Z0-9]\w*)|(?:_[a-zA-Z0-9]\w*))\(\)\s*:',
'^def\s+(?P<name>_?[a-zA-Z0-9]\w*)\( *\)\s*:',
flags=re.M)
regex_include = re.compile(