From: James French Date: Sun, 1 Aug 2010 16:06:41 +0000 (+0800) Subject: Removed depricated regular expression X-Git-Tag: 0.7~13 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=c5df217cb78f340a12a0ba9145af79faee186772;p=frenchie%2Ficalparse.git Removed depricated regular expression --- diff --git a/icalparse.py b/icalparse.py index 5010d1d..f41c4a1 100755 --- a/icalparse.py +++ b/icalparse.py @@ -21,15 +21,12 @@ # THE SOFTWARE. import sys -import re import urlparse import os class InvalidICS(Exception): pass class notJoined(Exception): pass -icalEntry = re.compile('^[A-Z\-]+:.*') - def lineJoiner(oldcal): '''Takes a string containing a calendar and returns an array of its lines'''