Commit 3657ea4c authored by Andreas Jung's avatar Andreas Jung

fixed wrong re conversion

parent 8c215b1f
...@@ -84,8 +84,8 @@ ...@@ -84,8 +84,8 @@
############################################################################## ##############################################################################
__doc__='''Shared classes and functions __doc__='''Shared classes and functions
$Id: Aqueduct.py,v 1.47 2001/04/28 07:21:59 chrism Exp $''' $Id: Aqueduct.py,v 1.48 2001/05/01 20:09:00 andreas Exp $'''
__version__='$Revision: 1.47 $'[11:-2] __version__='$Revision: 1.48 $'[11:-2]
import Globals, os import Globals, os
from Globals import Persistent from Globals import Persistent
...@@ -359,20 +359,20 @@ def parse(text, ...@@ -359,20 +359,20 @@ def parse(text,
mo = parmre.match(text) mo = parmre.match(text)
if mo: if mo:
name=mo.group(1) name=mo.group(2)
value={'default':mo.group(2)} value={'default':mo.group(3)}
l=len(mo.group(0)) l=len(mo.group(1))
else: else:
mo = qparmre.match(text) mo = qparmre.match(text)
if mo: if mo:
name=mo.group(0) name=mo.group(1)
value={'default':mo.group(2)} value={'default':mo.group(3)}
l=len(mo.group(0)) l=len(mo.group(2))
else: else:
mo = unparmre.match(text) mo = unparmre.match(text)
if ts_results: if ts_results:
name=mo.group(1) name=mo.group(2)
l=len(mo.group(0)) l=len(mo.group(1))
value={} value={}
else: else:
if not text or not strip(text): return Args(result,keys) if not text or not strip(text): return Args(result,keys)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment