diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-03-16 06:50:13 +0000 |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-03-16 06:50:13 +0000 |
commit | 10be10cbe72cc0cc0d05b2901f6857fdbb343894 (patch) | |
tree | 187aa5d7ae3a798239453331f1af23a14c6fce29 /Demo/scripts/update.py | |
parent | efbeaef1c1732ddb8d7d6d71847631094958bc89 (diff) | |
download | cpython-git-10be10cbe72cc0cc0d05b2901f6857fdbb343894.tar.gz |
Remove regsub, reconvert, regex, regex_syntax and everything under lib-old.
Diffstat (limited to 'Demo/scripts/update.py')
-rwxr-xr-x | Demo/scripts/update.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Demo/scripts/update.py b/Demo/scripts/update.py index 32ad6c86e1..c9360260e3 100755 --- a/Demo/scripts/update.py +++ b/Demo/scripts/update.py @@ -8,10 +8,10 @@ import os import sys -import regex +import re -pat = '^\([^: \t\n]+\):\([1-9][0-9]*\):' -prog = regex.compile(pat) +pat = '^([^: \t\n]+):([1-9][0-9]*):' +prog = re.compile(pat) class FileObj: def __init__(self, filename): |