M.-A. Lemburg wrote: > On sre character classes: I don't think that these provide > a good approach to XML lexical classes - custom functions > or methods or maybe even a codec mapping the characters > to their XML lexical class are much more efficient in > practice.
That isn't my experience: functions that scan XML strings are much slower than regular expressions. I can't imagine how a custom codec could work, so I cannot comment on that. Regards, Martin _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com