Matthew Barnett <python at mrabarnett.plus.com> added the comment: You could try the regex module mentioned in issue 2636. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue3262> _______________________________________