Remove regsub, reconvert, regex, regex_syntax and everything under lib-old.

This commit is contained in:
Neal Norwitz 2006-03-16 06:50:13 +00:00
parent efbeaef1c1
commit 10be10cbe7
69 changed files with 73 additions and 7120 deletions

View file

@ -5,7 +5,7 @@
import sys
import os
import string
import regex
import re
from Tkinter import *
from ManPage import ManPage
@ -208,15 +208,15 @@ class SelectionBox:
print 'Empty search string'
return
if not self.casevar.get():
map = regex.casefold
map = re.IGNORECASE
else:
map = None
try:
if map:
prog = regex.compile(search, map)
prog = re.compile(search, map)
else:
prog = regex.compile(search)
except regex.error, msg:
prog = re.compile(search)
except re.error, msg:
self.frame.bell()
print 'Regex error:', msg
return