[Zope-Checkins] CVS: Zope2 - TutorialTopic.py:1.7

Andreas Jung andreas@dhcp165.digicool.com
Wed, 2 May 2001 10:42:21 -0400


Update of /cvs-repository/Zope2/lib/python/Products/ZopeTutorial
In directory yetix:/work/sandboxes/Zope2/lib/python/Products/ZopeTutorial

Modified Files:
	TutorialTopic.py 
Log Message:
fixed incompatibility between ZopeTutorial and STXNG



--- Updated File TutorialTopic.py in package Zope2 --
--- TutorialTopic.py	2001/01/11 19:54:42	1.6
+++ TutorialTopic.py	2001/05/02 14:41:05	1.7
@@ -91,7 +91,7 @@
 import string, re
 
 
-pre_pat=re.compile(r'<PRE>(.+?)</PRE>', re.DOTALL)
+pre_pat=re.compile(r'<PRE>(.+?)</PRE>', re.IGNORECASE|re.DOTALL)
 tutorialExamplesFile='ZopeTutorialExamples.zexp'
 
 class TutorialTopic(TextTopic):