From dcad728f7b334f67f4f883add324de805b0b1e40 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 4 Mar 2008 11:45:39 +0000 Subject: [PATCH] Full name for "IGNORECASE". git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@202 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- Robots/parse_html_beautifulsoup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Robots/parse_html_beautifulsoup.py b/Robots/parse_html_beautifulsoup.py index ca8ee2e..dc61a33 100644 --- a/Robots/parse_html_beautifulsoup.py +++ b/Robots/parse_html_beautifulsoup.py @@ -39,7 +39,7 @@ class BadDeclParser(BeautifulSoup): except SGMLParseError: # Could not parse the DOCTYPE declaration # Try to just skip the actual declaration - match = re.search(r']*?)>', self.rawdata[i:], re.MULTILINE|re.I) + match = re.search(r']*?)>', self.rawdata[i:], re.MULTILINE|re.IGNORECASE) if match: toHandle = self.rawdata[i:match.end()] else: -- 2.39.5