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
d7fdbc3f
Commit
d7fdbc3f
authored
Nov 20, 2002
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move ts_regex to StructuredText.
Change one final use of the old regex module to ts_regex.
parent
962f147e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
lib/python/StructuredText/ClassicStructuredText.py
lib/python/StructuredText/ClassicStructuredText.py
+2
-4
lib/python/StructuredText/ts_regex.py
lib/python/StructuredText/ts_regex.py
+0
-0
No files found.
lib/python/StructuredText/ClassicStructuredText.py
View file @
d7fdbc3f
...
@@ -134,9 +134,7 @@ Special symbology is used to indicate special constructs:
...
@@ -134,9 +134,7 @@ Special symbology is used to indicate special constructs:
'''
'''
import
ts_regex
import
ts_regex
import
regex
import
string
,
re
from
ts_regex
import
gsub
import
string
,
re
def
untabify
(
aString
,
def
untabify
(
aString
,
...
@@ -282,7 +280,7 @@ class StructuredText:
...
@@ -282,7 +280,7 @@ class StructuredText:
"""
"""
def
__init__
(
self
,
aStructuredString
,
level
=
0
,
def
__init__
(
self
,
aStructuredString
,
level
=
0
,
paragraph_divider
=
regex
.
compile
(
'
\
(
\
r?
\
n
*
\
)+
\
r?
\
n
'
),
paragraph_divider
=
ts_
regex
.
compile
(
'
\
(
\
r?
\
n
*
\
)+
\
r?
\
n
'
),
):
):
'''Convert a structured text string into a structured text object.
'''Convert a structured text string into a structured text object.
...
...
lib/python/ts_regex.py
→
lib/python/
StructuredText/
ts_regex.py
View file @
d7fdbc3f
File moved
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