Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
a5c6a17c
Commit
a5c6a17c
authored
Apr 28, 2001
by
Chris McDonough
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed \0's to \000's for regex.
parent
956453d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
lib/python/Shared/DC/ZRDB/Aqueduct.py
lib/python/Shared/DC/ZRDB/Aqueduct.py
+12
-12
No files found.
lib/python/Shared/DC/ZRDB/Aqueduct.py
View file @
a5c6a17c
...
...
@@ -84,8 +84,8 @@
##############################################################################
__doc__
=
'''Shared classes and functions
$Id: Aqueduct.py,v 1.4
5 2001/04/27 18:07:16 andreas
Exp $'''
__version__
=
'$Revision: 1.4
5
$'
[
11
:
-
2
]
$Id: Aqueduct.py,v 1.4
6 2001/04/28 06:10:27 chrism
Exp $'''
__version__
=
'$Revision: 1.4
6
$'
[
11
:
-
2
]
import
Globals
,
os
from
Globals
import
Persistent
...
...
@@ -275,7 +275,7 @@ custom_default_report_src=DocumentTemplate.File(
os
.
path
.
join
(
dtml_dir
,
'customDefaultReport.dtml'
))
def
custom_default_report
(
id
,
result
,
action
=
''
,
no_table
=
0
,
goofy
=
re
.
compile
(
r
'\
W
').search
goofy
=
re
.
compile
(
'
\
W
'
).search
):
columns=result._searchable_result_columns()
__traceback_info__=columns
...
...
@@ -344,11 +344,11 @@ def parse(text,
result=None,
keys=None,
unparmre=re.compile(
r'([
\
0
- ]*([^
\
0
- =
\
"
]+))'),
r'([
\
0
00
- ]*([^
\
000
- =
"
]
+
))
'),
parmre=re.compile(
r'([
\
0
- ]*([^
\
0
- =
\
"
]+)=([^
\
0
- =
\
"
]+))'),
r'
([
\
0
00
-
]
*
([
^
\
000
-
=
"]+)=([^
\
000
- =
"
]
+
))
'),
qparmre=re.compile(
r'([
\
0
- ]*([^
\
0
- =
\
"
]+)="
([
^
"]*)
\
"
)'),
r'
([
\
0
00
-
]
*
([
^
\
000
-
=
"]+)="
([
^
"]*)
"
)
'),
):
if result is None:
...
...
@@ -409,13 +409,13 @@ def nicify(name):
def
decapitate
(
html
,
RESPONSE
=
None
,
header_re
=
re
.
compile
(
r'(('
'
[
^
\
0
-
<>
:]
+
:[
^
\
n
]
*
\
n
'
'
\
|
'
'
[
\
t
]
+
[
^
\
0
-
][
^
\
n
]
*
\
n
'
'
)
+
)[
\
t
]
*
\
n
([
\
0
-
\
377
]
+
)
'
),
'[^
\
00
0
- <>:]+:[^
\
n
]*
\
n
'
'
|'
'[
\
011
]+[^
\
00
0
- ][^
\
n
]*
\
n
'
')+)[
\
t
]*
\
n
([
\
0
00
-
\
377
]+)'
),
# please kill me now
space_re
=
re
.
compile
(
r'([ \t]+)'
),
name_re=re.compile(r'
([
^
\
0
-
<>
:]
+
):([
^
\
n
]
*
)
'),
name_re
=
re
.
compile
(
r'([^\0
00
- <>:]+):([^\n]*)'
),
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment