Home | Trees | Indices | Help |
|
---|
|
object --+ | CodePointSet
Represent a set of Unicode code points.
Each code point is an integral value between 0 and 0x10FFFF. This class is used to represent a set of code points in a manner suitable for use as regular expression character sets.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
MaxShortCodePoint = 65535
|
|||
MaxCodePoint = 1114111 The maximum value for a code point in the Unicode code point space. |
|||
__codepoints = None hash(x) |
|||
__XMLtoPythonREMap =
|
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
Add the given value to the code point set.
|
Add multiple values to a code point set.
|
Remove the given value from the code point set.
|
Return the code point set as Unicode regular expression character group consisting of a sequence of characters or character ranges. This returns a regular expression fragment using Python's regular expression syntax. Note that different regular expression syntaxes are not compatible, often in subtle ways.
|
Return the codepoints as tuples denoting the ranges that are in the set. Each tuple |
If this set represents a single character, return it as its unicode
string value. Otherwise return |
|
MaxCodePointThe maximum value for a code point in the Unicode code point space. This is normally 0xFFFF, because wide unicode characters are generally not enabled in Python builds. If, however, they are enabled, this will be the full value of 0x10FFFF.
|
__XMLtoPythonREMap
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Apr 17 03:13:55 2013 | http://epydoc.sourceforge.net |