Sorin Sbarnea 12 years ago
parent
commit
eb654c4041
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      src/wstools/XMLname.py

+ 3
- 2
src/wstools/XMLname.py View File

@@ -85,6 +85,7 @@ def fromXMLname(string):
def fun( matchobj ):
return _fromUnicodeHex( matchobj.group(0) )

retval = sub(r'_x[0-9A-Za-z]+_', fun, retval )

retval = sub(r'_x[0-9A-Fa-f]{4}_', fun, retval )
return retval

Loading…
Cancel
Save