[Pywikipedia-l] SVN: [4894] trunk/pywikipedia/wikipedia.py
malafaya at svn.wikimedia.org
malafaya at svn.wikimedia.org
Tue Jan 15 21:53:04 UTC 2008
Revision: 4894
Author: malafaya
Date: 2008-01-15 21:53:03 +0000 (Tue, 15 Jan 2008)
Log Message:
-----------
(bug 1871586) interwiki crashes with: regular expression code size limit e **still needs confirmation**
Modified Paths:
--------------
trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py
===================================================================
--- trunk/pywikipedia/wikipedia.py 2008-01-15 16:19:57 UTC (rev 4893)
+++ trunk/pywikipedia/wikipedia.py 2008-01-15 21:53:03 UTC (rev 4894)
@@ -2833,7 +2833,7 @@
'nowiki': re.compile(r'(?is)<nowiki>.*?</nowiki>'),
# preformatted text
'pre': re.compile(r'(?ism)<pre>.*?</pre>'),
- 'source': re.compile(r'(?is)<source .*?</source>'),
+ 'source': re.compile(r'(?is)<source>.*?</source>'),
# inline references
'ref': re.compile(r'(?ism)<ref[ >].*?</ref>'),
'timeline': re.compile(r'(?is)<timeline>.*?</timeline>'),
More information about the Pywikipedia-l
mailing list