Author: tziade
Date: Mon Mar 6 02:33:32 2006
New Revision: 2539
Modified:
cookbook/trunk/tests.py
Log:
grabbing the smallest bloxk
Modified: cookbook/trunk/tests.py
==============================================================================
--- cookbook/trunk/tests.py (original)
+++ cookbook/trunk/tests.py Mon Mar 6 02:33:32 2006
@@ -4,7 +4,7 @@
import re
-extracter = r'\\begin{Verbatim}(?P<contents>.*)\\end{Verbatim}'
+extracter = r'\\begin{Verbatim}(?P<contents>.*?)\\end{Verbatim}'
cExtracter = re.compile(extracter, re.MULTILINE| re.DOTALL)
current_folder = os.path.dirname(__file__)
--
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins