Next / Previous / Contents / Shipman's homepage

7.3. NAME_CHAR_RANGES

A list of Unicode code point ranges that define the NameChar character set, over and above the characters in NameStartChar that are automatically included.

sox.py
NAME_CHAR_RANGES = [
    (ord('-'), ord('-')),
    (ord('.'), ord('.')),
    (ord('0'), ord('9')),
    (0x00B7, 0x00B7),
    (0x0300, 0x036F),
    (0x203F, 0x2040) ]