diff options
author | Just van Rossum <just@letterror.com> | 2001-07-10 19:25:40 (GMT) |
---|---|---|
committer | Just van Rossum <just@letterror.com> | 2001-07-10 19:25:40 (GMT) |
commit | 3eec7620be596daf4c3f96dbc7fc93afcf639b00 (patch) | |
tree | 746bcaaed11384bf9da0cde441eb6c9f7ed3b52b /Mac/Tools/IDE/PyBrowser.py | |
parent | 353ae5896499d0ec297cff00e3686f4cd88668c3 (diff) | |
download | cpython-3eec7620be596daf4c3f96dbc7fc93afcf639b00.zip cpython-3eec7620be596daf4c3f96dbc7fc93afcf639b00.tar.gz cpython-3eec7620be596daf4c3f96dbc7fc93afcf639b00.tar.bz2 |
- fixed some re usage, partly so it'll still work when re uses pre instead
of sre, and partly fixing re -> regex porting oversights
- fixed PyFontify.py so it actually *works* again..
Diffstat (limited to 'Mac/Tools/IDE/PyBrowser.py')
-rw-r--r-- | Mac/Tools/IDE/PyBrowser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Tools/IDE/PyBrowser.py b/Mac/Tools/IDE/PyBrowser.py index 19319a1..c8e5066 100644 --- a/Mac/Tools/IDE/PyBrowser.py +++ b/Mac/Tools/IDE/PyBrowser.py @@ -13,7 +13,7 @@ opensolidid = struct.pack('h', 471) arrows = (nullid, closedid, openid, closedsolidid, opensolidid) -has_ctlcharsRE = re.compile('[\000-\037\177-\377]') +has_ctlcharsRE = re.compile(r'[\000-\037\177-\377]') def ctlcharsREsearch(str): if has_ctlcharsRE.search(str) is None: return -1 |