[Zodb-checkins] CVS: Packages/ZConfig - DataTypes.py:1.1.2.2
Fred L. Drake, Jr.
fred@zope.com
Mon, 9 Dec 2002 11:58:47 -0500
Update of /cvs-repository/Packages/ZConfig
In directory cvs.zope.org:/tmp/cvs-serv7940
Modified Files:
Tag: zconfig-schema-devel-branch
DataTypes.py
Log Message:
Fix regular expression for key names.
=== Packages/ZConfig/DataTypes.py 1.1.2.1 => 1.1.2.2 ===
--- Packages/ZConfig/DataTypes.py:1.1.2.1 Fri Dec 6 18:54:03 2002
+++ Packages/ZConfig/DataTypes.py Mon Dec 9 11:58:47 2002
@@ -95,7 +95,7 @@
class BasicKeyConversion(RegularExpressionConversion):
def __init__(self):
- RegularExpressionConversion.__init__(self, "[a-zA-Z][-.a-zA-Z0-9]")
+ RegularExpressionConversion.__init__(self, "[_a-zA-Z][-._a-zA-Z0-9]*")
def convert(self, value):
return RegularExpressionConversion.convert(self, value).lower()