[qooxdoo-commit] SF.net SVN: qooxdoo:[15890] trunk/qooxdoo/tool/pylib/generator/config/ Config.py
Brought to you by:
ecker,
martinwittemann
From: <th...@us...> - 2008-08-20 15:17:30
|
Revision: 15890 http://qooxdoo.svn.sourceforge.net/qooxdoo/?rev=15890&view=rev Author: thron7 Date: 2008-08-20 15:17:24 +0000 (Wed, 20 Aug 2008) Log Message: ----------- fix for comment stripping Modified Paths: -------------- trunk/qooxdoo/tool/pylib/generator/config/Config.py Modified: trunk/qooxdoo/tool/pylib/generator/config/Config.py =================================================================== --- trunk/qooxdoo/tool/pylib/generator/config/Config.py 2008-08-20 15:09:15 UTC (rev 15889) +++ trunk/qooxdoo/tool/pylib/generator/config/Config.py 2008-08-20 15:17:24 UTC (rev 15890) @@ -445,7 +445,7 @@ def _stripComments(self,jsonstr): - eolComment = re.compile(r'(<!contrib:)//.*$', re.M) + eolComment = re.compile(r'(?<!contrib:)//.*$', re.M) mulComment = re.compile(r'/\*.*?\*/', re.S) result = eolComment.sub('',jsonstr) result = mulComment.sub('',result) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |