degrotesque | index d:\products\degrotesque\github\degrotesque\degrotesque.py |
Modules | ||||||
|
Classes | ||||||||||
|
Functions | ||
|
Data | ||
actionsDB = {'apostrophe': [[["'", None], [''', None]]], 'bullets': [[[r'\*', None], ['•', None]]], 'commercial': [[[r'\([c|C]\)', None], ['©', None]], [[r'\([r|R]\)', None], ['®', None]], [[r'\([t|T][m|M]\)', None], ['™', None]]], 'dagger': [[[r'\*\*', None], ['‡', None]], [[r'\*', None], ['†', None]]], 'dashes': [[[r'(\s+)-(\s+)', None], [r'\1—\2', None]], [[r'([\d]+)-([\d]+)', None], [r'\1–\2', None]]], 'ellipsis': [[[r'\.\.\.', None], ['…', None]]], 'masks': [[[r'978-([\d]+)-([\d]+)-([\d]+)-([\d])(\D)', None], [r'978-\1-\2-\3-\4\5', None]], [[r'979-([\d]+)-([\d]+)-([\d]+)-([\d])(\D)', None], [r'979-\1-\2-\3-\4\5', None]], [[r'([\d]+)-([\d]+)-([\d]+)-([\d])(\D)', None], [r'\1-\2-\3-\4\5', None]], [[r'ISSN (\d{4})-(\d{4})(\D)', None], [r'ISSN \1-\2\3', None]]], 'math': [[[r'\+/-', None], ['±', None]], [['1/2', None], ['½', None]], [['1/4', None], ['¼', None]], [['3/4', None], ['¾', None]], [[r'\~', None], ['≈', None]], [[r'\!=', None], ['≠', None]], [['<=', None], ['≤', None]], [['>=', None], ['≥', None]], [[r'([\d]+)(\s*)\*(\s*)([\d]+)', None], [r'\1\2×\3\4', None]], [[r'([\d]+)(\s*)x(\s*)([\d]+)', None], [r'\1\2×\3\4', None]], [[r'([\d]+)(\s*)/(\s*)([\d]+)', None], [r'\1\2÷\3\4', None]]], 'quotes.english': [[[r"(\s+)'", "'"], [r'\1‘', '’']], [['"', '"'], ['“', '”']]], 'quotes.french': [[['<<', '>>'], ['«', '»']], [['<', '>'], ['‹', '›']]], ...} extensionsDB = ['html', 'htm', 'xhtml', 'php', 'phtml', 'phtm', 'php2', 'php3', 'php4', 'php5', 'asp', 'jsp', 'jspx', 'shtml', 'shtm', 'sht', 'stm', 'vbhtml', 'ppthtml', 'ssp', ...] print_function = _Feature((2, 6, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 1048576) |