Commit cbf15099 authored by Jim Fulton's avatar Jim Fulton

Fixed bug in handling "..." shorthand.

parent aba5128f
'''$Id: DT_Util.py,v 1.38 1998/07/27 23:42:12 jim Exp $''' '''$Id: DT_Util.py,v 1.39 1998/07/29 15:35:27 jim Exp $'''
############################################################################ ############################################################################
# Copyright # Copyright
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
# (540) 371-6909 # (540) 371-6909
# #
############################################################################ ############################################################################
__version__='$Revision: 1.38 $'[11:-2] __version__='$Revision: 1.39 $'[11:-2]
import sys, regex, string, types, math, os import sys, regex, string, types, math, os
from string import rfind, strip, joinfields, atoi,lower,upper,capitalize from string import rfind, strip, joinfields, atoi,lower,upper,capitalize
...@@ -325,7 +325,7 @@ def parse_params(text, ...@@ -325,7 +325,7 @@ def parse_params(text,
unparmre=regex.compile( unparmre=regex.compile(
'\([\0- ]*\([^\0- =\"]+\)\)'), '\([\0- ]*\([^\0- =\"]+\)\)'),
qunparmre=regex.compile( qunparmre=regex.compile(
'\([\0- ]*\("[^\0- =\"]+"\)\)'), '\([\0- ]*\("[^"]*"\)\)'),
parmre=regex.compile( parmre=regex.compile(
'\([\0- ]*\([^\0- =\"]+\)=\([^\0- =\"]+\)\)'), '\([\0- ]*\([^\0- =\"]+\)=\([^\0- =\"]+\)\)'),
qparmre=regex.compile( qparmre=regex.compile(
...@@ -406,6 +406,9 @@ def parse_params(text, ...@@ -406,6 +406,9 @@ def parse_params(text,
############################################################################ ############################################################################
# $Log: DT_Util.py,v $ # $Log: DT_Util.py,v $
# Revision 1.39 1998/07/29 15:35:27 jim
# Fixed bug in handling "..." shorthand.
#
# Revision 1.38 1998/07/27 23:42:12 jim # Revision 1.38 1998/07/27 23:42:12 jim
# Revamped attribute parsing to: # Revamped attribute parsing to:
# #
......
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