Module unicode
source code
This module contains support for Unicode characters as required to
support the regular expression syntax defined in annex F of the XML Schema definition.
In particular, we need to be able to identify character properties and
block escapes, as defined in F.1.1, by name.
The Unicode database active at the time XML Schema 1.0 was defined is
archived at http://www.unicode.org/Public/3.1-Update/UnicodeCharacterDatabase-3.1.0.html,
and refers to Unicode Standard Annex #27: Unicode 3.1.
|
_log = logging.getLogger(__name__)
|
|
SupportsWideUnicode = True
|
|
SingleCharEsc = {'n': CodePointSet(0x0A), 'r': CodePointSet(0x...
|
|
catEsc = {}
|
|
complEsc = { }
|
|
IsBlockEsc = {}
|
|
WildcardEsc = CodePointSet(ord('\n'), ord('\r')).negate()
|
|
MultiCharEsc = {}
|
|
__package__ = ' pyxb.utils '
|
|
c = ' ] '
|
|
k = ' Latin-1Supplement '
|
|
v = <pyxb.utils.unicode.CodePointSet object at 0x1ef0450>
|
SingleCharEsc
- Value:
{'n': CodePointSet(0x0A), 'r': CodePointSet(0x0D), 't': CodePointSet(0
x09)}
|
|