regex simplification
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 2.3.0 (2012-12-05 16:48:37) rc1
|
Version 2.3.0 (2012-12-06 16:55:43) rc1
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
device-width: Occupy full width of the screen in its current orientation
|
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
|
initial-scale = 1.0 retains dimensions instead of zooming out if page height > device height
|
||||||
user-scalable = yes allows the user to zoom in -->
|
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="shortcut icon" href="{{=URL('static','images/favicon.ico')}}" type="image/x-icon">
|
||||||
<link rel="apple-touch-icon" href="{{=URL('static','images/favicon.png')}}">
|
<link rel="apple-touch-icon" href="{{=URL('static','images/favicon.png')}}">
|
||||||
|
|||||||
+1
-1
@@ -18,7 +18,7 @@ regex_tables = re.compile(
|
|||||||
# pattern to find exposed functions in controller
|
# pattern to find exposed functions in controller
|
||||||
|
|
||||||
regex_expose = re.compile(
|
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)
|
flags=re.M)
|
||||||
|
|
||||||
regex_include = re.compile(
|
regex_include = re.compile(
|
||||||
|
|||||||
Reference in New Issue
Block a user