Hi Phil,
First, let me say that Kodos is a great tool. I just
ran into a case where Kodos didn't handle the regex due
to my use of a Python 2.4 regex constructions, as in
the following to match XML attribute name/values (don't
ask... ;-):
attrName = r'\b(?P<name>[a-zA-Z_:][a-zA-Z0-9.-_:]*)'
attrValue =
r"""(?P<quote>(")|('))(?P<value>(?(1)[^<&']*?)|(?(2)[^<&"]*?))(?P=quote)"""
fullAttributeRegex = re.compile(attrName + '=' + attrValue)
While getting the kinks out of the above, I discovered
that the current Kodos build ships with Python 2.3, so
it doesn't grok the above regex. It'd be great to have
a build against Python 2.4 for those of us working with
the most recent features.
Docs for the new feature are in 2.4's module re syntax
docs under "(?(id/name)yes-pattern|no-pattern)"
Thanks again!
Logged In: YES
user_id=420501
I will try to put together a Python 2.4 release in the near
future. I need to install some additional software first
(such as Python2.4 and the respective PyQt packages).
Logged In: YES
user_id=420501
Kodos v2.4.7 (and later) are built on Windows using
Python2.4 and related packages. There are no changes to the
source code for 2.4.7 so this is just a mainenance release.