![]() |
Qucs-S S-parameter Viewer & RF Synthesis Tools
|

Public Member Functions | |
| printables (cls) | |
| alphas (cls) | |
| nums (cls) | |
| alphanums (cls) | |
| identchars (cls) | |
| identbodychars (cls) | |
| identifier (cls) | |
Public Attributes | |
| identchars | |
| identbodychars | |
Protected Member Functions | |
| _chars_for_ranges (cls) | |
Protected Attributes | |
| _chars_for_ranges | |
Static Protected Attributes | |
| list | _ranges = [] |
A set of Unicode characters, for language-specific strings for
``alphas``, ``nums``, ``alphanums``, and ``printables``.
A unicode_set is defined by a list of ranges in the Unicode character
set, in a class attribute ``_ranges``. Ranges can be specified using
2-tuples or a 1-tuple, such as::
_ranges = [
(0x0020, 0x007e),
(0x00a0, 0x00ff),
(0x0100,),
]
Ranges are left- and right-inclusive. A 1-tuple of (x,) is treated as (x, x).
A unicode set can also be defined using multiple inheritance of other unicode sets::
class CJK(Chinese, Japanese, Korean):
pass
| pip._vendor.pyparsing.unicode.unicode_set.alphanums | ( | cls | ) |
all alphanumeric characters in this range
| pip._vendor.pyparsing.unicode.unicode_set.alphas | ( | cls | ) |
all alphabetic characters in this range
| pip._vendor.pyparsing.unicode.unicode_set.identbodychars | ( | cls | ) |
all characters in this range that are valid identifier body characters, plus the digits 0-9, and ยท (Unicode MIDDLE DOT)
| pip._vendor.pyparsing.unicode.unicode_set.identchars | ( | cls | ) |
all characters in this range that are valid identifier characters, plus underscore '_'
| pip._vendor.pyparsing.unicode.unicode_set.identifier | ( | cls | ) |
a pyparsing Word expression for an identifier using this range's definitions for identchars and identbodychars
| pip._vendor.pyparsing.unicode.unicode_set.nums | ( | cls | ) |
all numeric digit characters in this range
| pip._vendor.pyparsing.unicode.unicode_set.printables | ( | cls | ) |
all non-whitespace characters in this range