git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@202
fdd5c36f-1aea-0310-aeeb-
c58d7e2b6c23
except SGMLParseError:
# Could not parse the DOCTYPE declaration
# Try to just skip the actual declaration
except SGMLParseError:
# Could not parse the DOCTYPE declaration
# Try to just skip the actual declaration
- match = re.search(r'<!DOCTYPE([^>]*?)>', self.rawdata[i:], re.MULTILINE|re.I)
+ match = re.search(r'<!DOCTYPE([^>]*?)>', self.rawdata[i:], re.MULTILINE|re.IGNORECASE)
if match:
toHandle = self.rawdata[i:match.end()]
else:
if match:
toHandle = self.rawdata[i:match.end()]
else: