diff options
Diffstat (limited to 'pygments/lexers')
28 files changed, 1165 insertions, 1168 deletions
diff --git a/pygments/lexers/apl.py b/pygments/lexers/apl.py index 68c4ffe1..4e2de92c 100644 --- a/pygments/lexers/apl.py +++ b/pygments/lexers/apl.py @@ -35,7 +35,7 @@ class APLLexer(RegexLexer): # Comment # ======= # '⍝' is traditional; '#' is supported by GNU APL and NGN (but not Dyalog) - (u'[⍝#].*$', Comment.Single), + (r'[⍝#].*$', Comment.Single), # # Strings # ======= @@ -46,7 +46,7 @@ class APLLexer(RegexLexer): # =========== # This token type is used for diamond and parenthesis # but not for bracket and ; (see below) - (u'[⋄◇()]', Punctuation), + (r'[⋄◇()]', Punctuation), # # Array indexing # ============== @@ -57,45 +57,45 @@ class APLLexer(RegexLexer): # Distinguished names # =================== # following IBM APL2 standard - (u'⎕[A-Za-zΔ∆⍙][A-Za-zΔ∆⍙_¯0-9]*', Name.Function), + (r'⎕[A-Za-zΔ∆⍙][A-Za-zΔ∆⍙_¯0-9]*', Name.Function), # # Labels # ====== # following IBM APL2 standard - # (u'[A-Za-zΔ∆⍙][A-Za-zΔ∆⍙_¯0-9]*:', Name.Label), + # (r'[A-Za-zΔ∆⍙][A-Za-zΔ∆⍙_¯0-9]*:', Name.Label), # # Variables # ========= # following IBM APL2 standard - (u'[A-Za-zΔ∆⍙][A-Za-zΔ∆⍙_¯0-9]*', Name.Variable), + (r'[A-Za-zΔ∆⍙][A-Za-zΔ∆⍙_¯0-9]*', Name.Variable), # # Numbers # ======= - (u'¯?(0[Xx][0-9A-Fa-f]+|[0-9]*\\.?[0-9]+([Ee][+¯]?[0-9]+)?|¯|∞)' - u'([Jj]¯?(0[Xx][0-9A-Fa-f]+|[0-9]*\\.?[0-9]+([Ee][+¯]?[0-9]+)?|¯|∞))?', + (r'¯?(0[Xx][0-9A-Fa-f]+|[0-9]*\.?[0-9]+([Ee][+¯]?[0-9]+)?|¯|∞)' + r'([Jj]¯?(0[Xx][0-9A-Fa-f]+|[0-9]*\.?[0-9]+([Ee][+¯]?[0-9]+)?|¯|∞))?', Number), # # Operators # ========== - (u'[\\.\\\\\\/⌿⍀¨⍣⍨⍠⍤∘⌸&⌶@⌺⍥⍛⍢]', Name.Attribute), # closest token type - (u'[+\\-×÷⌈⌊∣|⍳?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⌸⍯↗⊆⊇⍸√⌾…⍮]', + (r'[\.\\\/⌿⍀¨⍣⍨⍠⍤∘⌸&⌶@⌺⍥⍛⍢]', Name.Attribute), # closest token type + (r'[+\-×÷⌈⌊∣|⍳?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⌸⍯↗⊆⊇⍸√⌾…⍮]', Operator), # # Constant # ======== - (u'⍬', Name.Constant), + (r'⍬', Name.Constant), # # Quad symbol # =========== - (u'[⎕⍞]', Name.Variable.Global), + (r'[⎕⍞]', Name.Variable.Global), # # Arrows left/right # ================= - (u'[←→]', Keyword.Declaration), + (r'[←→]', Keyword.Declaration), # # D-Fn # ==== - (u'[⍺⍵⍶⍹∇:]', Name.Builtin.Pseudo), + (r'[⍺⍵⍶⍹∇:]', Name.Builtin.Pseudo), (r'[{}]', Keyword.Type), ], } diff --git a/pygments/lexers/archetype.py b/pygments/lexers/archetype.py index bca9cbbb..713970ec 100644 --- a/pygments/lexers/archetype.py +++ b/pygments/lexers/archetype.py @@ -212,9 +212,9 @@ class CadlLexer(AtomsLexer): (r'(not)\W', Operator), (r'(matches|is_in)\W', Operator), # is_in / not is_in char - (u'(\u2208|\u2209)', Operator), + ('(\u2208|\u2209)', Operator), # there_exists / not there_exists / for_all / and / or - (u'(\u2203|\u2204|\u2200|\u2227|\u2228|\u22BB|\223C)', + ('(\u2203|\u2204|\u2200|\u2227|\u2228|\u22BB|\223C)', Operator), # regex in slot or as string constraint (r'(\{)(\s*/[^}]+/\s*)(\})', diff --git a/pygments/lexers/erlang.py b/pygments/lexers/erlang.py index fdc83451..829a1c23 100644 --- a/pygments/lexers/erlang.py +++ b/pygments/lexers/erlang.py @@ -504,7 +504,7 @@ class ElixirConsoleLexer(Lexer): insertions = [] for match in line_re.finditer(text): line = match.group() - if line.startswith(u'** '): + if line.startswith('** '): in_error = True insertions.append((len(curcode), [(0, Generic.Error, line[:-1])])) diff --git a/pygments/lexers/esoteric.py b/pygments/lexers/esoteric.py index 6ac3dd9d..e1e02a42 100644 --- a/pygments/lexers/esoteric.py +++ b/pygments/lexers/esoteric.py @@ -255,23 +255,23 @@ class AheuiLexer(RegexLexer): tokens = { 'root': [ - (u'[' - u'나-낳냐-냫너-넣녀-녛노-놓뇨-눟뉴-닇' - u'다-닿댜-댷더-덯뎌-뎧도-돟됴-둫듀-딓' - u'따-땋땨-떃떠-떻뗘-뗳또-똫뚀-뚷뜌-띟' - u'라-랗랴-럏러-렇려-렿로-롷료-뤃류-릫' - u'마-맣먀-먛머-멓며-몋모-뫃묘-뭏뮤-믷' - u'바-밯뱌-뱧버-벟벼-볗보-봏뵤-붛뷰-빃' - u'빠-빻뺘-뺳뻐-뻫뼈-뼣뽀-뽛뾰-뿧쀼-삏' - u'사-샇샤-샿서-섷셔-셯소-솧쇼-숳슈-싛' - u'싸-쌓쌰-썋써-쎃쎠-쎻쏘-쏳쑈-쑿쓔-씧' - u'자-잫쟈-쟣저-젛져-졓조-좋죠-줗쥬-즿' - u'차-챃챠-챻처-첳쳐-쳫초-촣쵸-춯츄-칗' - u'카-캏캬-컇커-컿켜-켷코-콯쿄-쿻큐-킣' - u'타-탛탸-턓터-텋텨-톃토-톻툐-퉇튜-틯' - u'파-팧퍄-퍟퍼-펗펴-폏포-퐇표-풓퓨-픻' - u'하-핳햐-햫허-헣혀-혛호-홓효-훟휴-힇' - u']', Operator), + ('[' + '나-낳냐-냫너-넣녀-녛노-놓뇨-눟뉴-닇' + '다-닿댜-댷더-덯뎌-뎧도-돟됴-둫듀-딓' + '따-땋땨-떃떠-떻뗘-뗳또-똫뚀-뚷뜌-띟' + '라-랗랴-럏러-렇려-렿로-롷료-뤃류-릫' + '마-맣먀-먛머-멓며-몋모-뫃묘-뭏뮤-믷' + '바-밯뱌-뱧버-벟벼-볗보-봏뵤-붛뷰-빃' + '빠-빻뺘-뺳뻐-뻫뼈-뼣뽀-뽛뾰-뿧쀼-삏' + '사-샇샤-샿서-섷셔-셯소-솧쇼-숳슈-싛' + '싸-쌓쌰-썋써-쎃쎠-쎻쏘-쏳쑈-쑿쓔-씧' + '자-잫쟈-쟣저-젛져-졓조-좋죠-줗쥬-즿' + '차-챃챠-챻처-첳쳐-쳫초-촣쵸-춯츄-칗' + '카-캏캬-컇커-컿켜-켷코-콯쿄-쿻큐-킣' + '타-탛탸-턓터-텋텨-톃토-톻툐-퉇튜-틯' + '파-팧퍄-퍟퍼-펗펴-폏포-퐇표-풓퓨-픻' + '하-핳햐-햫허-헣혀-혛호-홓효-훟휴-힇' + ']', Operator), ('.', Comment), ], } diff --git a/pygments/lexers/ezhil.py b/pygments/lexers/ezhil.py index 37d793dd..ea5bba3c 100644 --- a/pygments/lexers/ezhil.py +++ b/pygments/lexers/ezhil.py @@ -30,20 +30,20 @@ class EzhilLexer(RegexLexer): flags = re.MULTILINE | re.UNICODE # Refer to tamil.utf8.tamil_letters from open-tamil for a stricter version of this. # This much simpler version is close enough, and includes combining marks. - _TALETTERS = u'[a-zA-Z_]|[\u0b80-\u0bff]' + _TALETTERS = '[a-zA-Z_]|[\u0b80-\u0bff]' tokens = { 'root': [ include('keywords'), (r'#.*\n', Comment.Single), (r'[@+/*,^\-%]|[!<>=]=?|&&?|\|\|?', Operator), - (u'இல்', Operator.Word), - (words((u'assert', u'max', u'min', - u'நீளம்', u'சரம்_இடமாற்று', u'சரம்_கண்டுபிடி', - u'பட்டியல்', u'பின்இணை', u'வரிசைப்படுத்து', - u'எடு', u'தலைகீழ்', u'நீட்டிக்க', u'நுழைக்க', u'வை', - u'கோப்பை_திற', u'கோப்பை_எழுது', u'கோப்பை_மூடு', - u'pi', u'sin', u'cos', u'tan', u'sqrt', u'hypot', u'pow', - u'exp', u'log', u'log10', u'exit', + ('இல்', Operator.Word), + (words(('assert', 'max', 'min', + 'நீளம்', 'சரம்_இடமாற்று', 'சரம்_கண்டுபிடி', + 'பட்டியல்', 'பின்இணை', 'வரிசைப்படுத்து', + 'எடு', 'தலைகீழ்', 'நீட்டிக்க', 'நுழைக்க', 'வை', + 'கோப்பை_திற', 'கோப்பை_எழுது', 'கோப்பை_மூடு', + 'pi', 'sin', 'cos', 'tan', 'sqrt', 'hypot', 'pow', + 'exp', 'log', 'log10', 'exit', ), suffix=r'\b'), Name.Builtin), (r'(True|False)\b', Keyword.Constant), (r'[^\S\n]+', Text), @@ -52,10 +52,10 @@ class EzhilLexer(RegexLexer): (r'[(){}\[\]:;.]', Punctuation), ], 'keywords': [ - (u'பதிப்பி|தேர்ந்தெடு|தேர்வு|ஏதேனில்|ஆனால்|இல்லைஆனால்|இல்லை|ஆக|ஒவ்வொன்றாக|இல்|வரை|செய்|முடியேனில்|பின்கொடு|முடி|நிரல்பாகம்|தொடர்|நிறுத்து|நிரல்பாகம்', Keyword), + ('பதிப்பி|தேர்ந்தெடு|தேர்வு|ஏதேனில்|ஆனால்|இல்லைஆனால்|இல்லை|ஆக|ஒவ்வொன்றாக|இல்|வரை|செய்|முடியேனில்|பின்கொடு|முடி|நிரல்பாகம்|தொடர்|நிறுத்து|நிரல்பாகம்', Keyword), ], 'identifier': [ - (u'(?:'+_TALETTERS+u')(?:[0-9]|'+_TALETTERS+u')*', Name), + ('(?:'+_TALETTERS+')(?:[0-9]|'+_TALETTERS+')*', Name), ], 'literal': [ (r'".*?"', String), diff --git a/pygments/lexers/haskell.py b/pygments/lexers/haskell.py index da86a507..497d4cf3 100644 --- a/pygments/lexers/haskell.py +++ b/pygments/lexers/haskell.py @@ -327,10 +327,10 @@ class AgdaLexer(RegexLexer): # Identifiers (r'\b(%s)(?!\')\b' % '|'.join(reserved), Keyword.Reserved), (r'(import|module)(\s+)', bygroups(Keyword.Reserved, Text), 'module'), - (u'\\b(Set|Prop)[\u2080-\u2089]*\\b', Keyword.Type), + (r'\b(Set|Prop)[\u2080-\u2089]*\b', Keyword.Type), # Special Symbols (r'(\(|\)|\{|\})', Operator), - (u'(\\.{1,3}|\\||\u03BB|\u2200|\u2192|:|=|->)', Operator.Word), + (r'(\.{1,3}|\||\u03BB|\u2200|\u2192|:|=|->)', Operator.Word), # Numbers (r'\d+[eE][+-]?\d+', Number.Float), (r'\d+\.\d+([eE][+-]?\d+)?', Number.Float), diff --git a/pygments/lexers/haxe.py b/pygments/lexers/haxe.py index 0a58aefc..f95e4556 100644 --- a/pygments/lexers/haxe.py +++ b/pygments/lexers/haxe.py @@ -79,7 +79,7 @@ class HaxeLexer(ExtendedRegexLexer): if proc in ['error']: ctx.stack.append('preproc-error') - yield match.start(), Comment.Preproc, u'#' + proc + yield match.start(), Comment.Preproc, '#' + proc ctx.pos = match.end() tokens = { diff --git a/pygments/lexers/int_fiction.py b/pygments/lexers/int_fiction.py index e3d35088..a9194415 100644 --- a/pygments/lexers/int_fiction.py +++ b/pygments/lexers/int_fiction.py @@ -38,10 +38,10 @@ class Inform6Lexer(RegexLexer): # Inform 7 maps these four character classes to their ASCII # equivalents. To support Inform 6 inclusions within Inform 7, # Inform6Lexer maps them too. - _dash = u'\\-\u2010-\u2014' - _dquote = u'"\u201c\u201d' - _squote = u"'\u2018\u2019" - _newline = u'\\n\u0085\u2028\u2029' + _dash = '\\-\u2010-\u2014' + _dquote = '"\u201c\u201d' + _squote = "'\u2018\u2019" + _newline = '\\n\u0085\u2028\u2029' tokens = { 'root': [ @@ -858,7 +858,7 @@ class Tads3Lexer(RegexLexer): tokens = { 'root': [ - (u'\ufeff', Text), + ('\ufeff', Text), (r'\{', Punctuation, 'object-body'), (r';+', Punctuation), (r'(?=(argcount|break|case|catch|continue|default|definingobj|' diff --git a/pygments/lexers/javascript.py b/pygments/lexers/javascript.py index f36863dc..0a689eab 100644 --- a/pygments/lexers/javascript.py +++ b/pygments/lexers/javascript.py @@ -26,7 +26,7 @@ JS_IDENT_START = ('(?:[$_' + uni.combine('Lu', 'Ll', 'Lt', 'Lm', 'Lo', 'Nl') + ']|\\\\u[a-fA-F0-9]{4})') JS_IDENT_PART = ('(?:[$' + uni.combine('Lu', 'Ll', 'Lt', 'Lm', 'Lo', 'Nl', 'Mn', 'Mc', 'Nd', 'Pc') + - u'\u200c\u200d]|\\\\u[a-fA-F0-9]{4})') + '\u200c\u200d]|\\\\u[a-fA-F0-9]{4})') JS_IDENT = JS_IDENT_START + '(?:' + JS_IDENT_PART + ')*' diff --git a/pygments/lexers/julia.py b/pygments/lexers/julia.py index 7978074a..b512e248 100644 --- a/pygments/lexers/julia.py +++ b/pygments/lexers/julia.py @@ -15,13 +15,12 @@ from pygments.lexer import Lexer, RegexLexer, bygroups, do_insertions, \ words, include from pygments.token import Text, Comment, Operator, Keyword, Name, String, \ Number, Punctuation, Generic -from pygments.util import shebang_matches, unirange +from pygments.util import shebang_matches __all__ = ['JuliaLexer', 'JuliaConsoleLexer'] -allowed_variable = ( - u'(?:[a-zA-Z_\u00A1-\uffff]|%s)(?:[a-zA-Z_0-9\u00A1-\uffff]|%s)*!*' % - ((unirange(0x10000, 0x10ffff),) * 2)) +allowed_variable = \ + '(?:[a-zA-Z_\u00A1-\U0010ffff]|%s)(?:[a-zA-Z_0-9\u00A1-\U0010ffff])*!*' class JuliaLexer(RegexLexer): @@ -131,59 +130,58 @@ class JuliaLexer(RegexLexer): # builtins (words([ - u'ARGS', u'CPU_CORES', u'C_NULL', u'DevNull', u'ENDIAN_BOM', - u'ENV', u'I', u'Inf', u'Inf16', u'Inf32', u'Inf64', - u'InsertionSort', u'JULIA_HOME', u'LOAD_PATH', u'MergeSort', - u'NaN', u'NaN16', u'NaN32', u'NaN64', u'OS_NAME', - u'QuickSort', u'RoundDown', u'RoundFromZero', u'RoundNearest', - u'RoundNearestTiesAway', u'RoundNearestTiesUp', - u'RoundToZero', u'RoundUp', u'STDERR', u'STDIN', u'STDOUT', - u'VERSION', u'WORD_SIZE', u'catalan', u'e', u'eu', - u'eulergamma', u'golden', u'im', u'nothing', u'pi', u'γ', - u'π', u'φ'], + 'ARGS', 'CPU_CORES', 'C_NULL', 'DevNull', 'ENDIAN_BOM', + 'ENV', 'I', 'Inf', 'Inf16', 'Inf32', 'Inf64', + 'InsertionSort', 'JULIA_HOME', 'LOAD_PATH', 'MergeSort', + 'NaN', 'NaN16', 'NaN32', 'NaN64', 'OS_NAME', + 'QuickSort', 'RoundDown', 'RoundFromZero', 'RoundNearest', + 'RoundNearestTiesAway', 'RoundNearestTiesUp', + 'RoundToZero', 'RoundUp', 'STDERR', 'STDIN', 'STDOUT', + 'VERSION', 'WORD_SIZE', 'catalan', 'e', 'eu', + 'eulergamma', 'golden', 'im', 'nothing', 'pi', 'γ', 'π', 'φ'], suffix=r'\b'), Name.Builtin), # operators # see: https://github.com/JuliaLang/julia/blob/master/src/julia-parser.scm (words(( # prec-assignment - u'=', u':=', u'+=', u'-=', u'*=', u'/=', u'//=', u'.//=', u'.*=', u'./=', - u'\\=', u'.\\=', u'^=', u'.^=', u'÷=', u'.÷=', u'%=', u'.%=', u'|=', u'&=', - u'$=', u'=>', u'<<=', u'>>=', u'>>>=', u'~', u'.+=', u'.-=', + '=', ':=', '+=', '-=', '*=', '/=', '//=', './/=', '.*=', './=', + '\\=', '.\\=', '^=', '.^=', '÷=', '.÷=', '%=', '.%=', '|=', '&=', + '$=', '=>', '<<=', '>>=', '>>>=', '~', '.+=', '.-=', # prec-conditional - u'?', + '?', # prec-arrow - u'--', u'-->', + '--', '-->', # prec-lazy-or - u'||', + '||', # prec-lazy-and - u'&&', + '&&', # prec-comparison - u'>', u'<', u'>=', u'≥', u'<=', u'≤', u'==', u'===', u'≡', u'!=', u'≠', - u'!==', u'≢', u'.>', u'.<', u'.>=', u'.≥', u'.<=', u'.≤', u'.==', u'.!=', - u'.≠', u'.=', u'.!', u'<:', u'>:', u'∈', u'∉', u'∋', u'∌', u'⊆', - u'⊈', u'⊂', - u'⊄', u'⊊', + '>', '<', '>=', '≥', '<=', '≤', '==', '===', '≡', '!=', '≠', + '!==', '≢', '.>', '.<', '.>=', '.≥', '.<=', '.≤', '.==', '.!=', + '.≠', '.=', '.!', '<:', '>:', '∈', '∉', '∋', '∌', '⊆', + '⊈', '⊂', + '⊄', '⊊', # prec-pipe - u'|>', u'<|', + '|>', '<|', # prec-colon - u':', + ':', # prec-plus - u'.+', u'.-', u'|', u'∪', u'$', + '.+', '.-', '|', '∪', '$', # prec-bitshift - u'<<', u'>>', u'>>>', u'.<<', u'.>>', u'.>>>', + '<<', '>>', '>>>', '.<<', '.>>', '.>>>', # prec-times - u'*', u'/', u'./', u'÷', u'.÷', u'%', u'⋅', u'.%', u'.*', u'\\', u'.\\', u'&', u'∩', + '*', '/', './', '÷', '.÷', '%', '⋅', '.%', '.*', '\\', '.\\', '&', '∩', # prec-rational - u'//', u'.//', + '//', './/', # prec-power - u'^', u'.^', + '^', '.^', # prec-decl - u'::', + '::', # prec-dot - u'.', + '.', # unary op - u'+', u'-', u'!', u'√', u'∛', u'∜' + '+', '-', '!', '√', '∛', '∜', )), Operator), # chars diff --git a/pygments/lexers/jvm.py b/pygments/lexers/jvm.py index 86af6d9f..ee0bc7af 100644 --- a/pygments/lexers/jvm.py +++ b/pygments/lexers/jvm.py @@ -151,120 +151,120 @@ class ScalaLexer(RegexLexer): flags = re.MULTILINE | re.DOTALL # don't use raw unicode strings! - op = (u'[-~\\^\\*!%&\\\\<>\\|+=:/?@\u00a6-\u00a7\u00a9\u00ac\u00ae\u00b0-\u00b1' - u'\u00b6\u00d7\u00f7\u03f6\u0482\u0606-\u0608\u060e-\u060f\u06e9' - u'\u06fd-\u06fe\u07f6\u09fa\u0b70\u0bf3-\u0bf8\u0bfa\u0c7f\u0cf1-\u0cf2' - u'\u0d79\u0f01-\u0f03\u0f13-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38' - u'\u0fbe-\u0fc5\u0fc7-\u0fcf\u109e-\u109f\u1360\u1390-\u1399\u1940' - u'\u19e0-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u2044\u2052\u207a-\u207c' - u'\u208a-\u208c\u2100-\u2101\u2103-\u2106\u2108-\u2109\u2114\u2116-\u2118' - u'\u211e-\u2123\u2125\u2127\u2129\u212e\u213a-\u213b\u2140-\u2144' - u'\u214a-\u214d\u214f\u2190-\u2328\u232b-\u244a\u249c-\u24e9\u2500-\u2767' - u'\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb' - u'\u29fe-\u2b54\u2ce5-\u2cea\u2e80-\u2ffb\u3004\u3012-\u3013\u3020' - u'\u3036-\u3037\u303e-\u303f\u3190-\u3191\u3196-\u319f\u31c0-\u31e3' - u'\u3200-\u321e\u322a-\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff' - u'\u4dc0-\u4dff\ua490-\ua4c6\ua828-\ua82b\ufb29\ufdfd\ufe62\ufe64-\ufe66' - u'\uff0b\uff1c-\uff1e\uff5c\uff5e\uffe2\uffe4\uffe8-\uffee\ufffc-\ufffd]+') - - letter = (u'[a-zA-Z\\$_\u00aa\u00b5\u00ba\u00c0-\u00d6\u00d8-\u00f6' - u'\u00f8-\u02af\u0370-\u0373\u0376-\u0377\u037b-\u037d\u0386' - u'\u0388-\u03f5\u03f7-\u0481\u048a-\u0556\u0561-\u0587\u05d0-\u05f2' - u'\u0621-\u063f\u0641-\u064a\u066e-\u066f\u0671-\u06d3\u06d5' - u'\u06ee-\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5' - u'\u07b1\u07ca-\u07ea\u0904-\u0939\u093d\u0950\u0958-\u0961' - u'\u0972-\u097f\u0985-\u09b9\u09bd\u09ce\u09dc-\u09e1\u09f0-\u09f1' - u'\u0a05-\u0a39\u0a59-\u0a5e\u0a72-\u0a74\u0a85-\u0ab9\u0abd' - u'\u0ad0-\u0ae1\u0b05-\u0b39\u0b3d\u0b5c-\u0b61\u0b71\u0b83-\u0bb9' - u'\u0bd0\u0c05-\u0c3d\u0c58-\u0c61\u0c85-\u0cb9\u0cbd\u0cde-\u0ce1' - u'\u0d05-\u0d3d\u0d60-\u0d61\u0d7a-\u0d7f\u0d85-\u0dc6\u0e01-\u0e30' - u'\u0e32-\u0e33\u0e40-\u0e45\u0e81-\u0eb0\u0eb2-\u0eb3\u0ebd-\u0ec4' - u'\u0edc-\u0f00\u0f40-\u0f6c\u0f88-\u0f8b\u1000-\u102a\u103f' - u'\u1050-\u1055\u105a-\u105d\u1061\u1065-\u1066\u106e-\u1070' - u'\u1075-\u1081\u108e\u10a0-\u10fa\u1100-\u135a\u1380-\u138f' - u'\u13a0-\u166c\u166f-\u1676\u1681-\u169a\u16a0-\u16ea\u16ee-\u1711' - u'\u1720-\u1731\u1740-\u1751\u1760-\u1770\u1780-\u17b3\u17dc' - u'\u1820-\u1842\u1844-\u18a8\u18aa-\u191c\u1950-\u19a9\u19c1-\u19c7' - u'\u1a00-\u1a16\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae-\u1baf' - u'\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c77\u1d00-\u1d2b\u1d62-\u1d77' - u'\u1d79-\u1d9a\u1e00-\u1fbc\u1fbe\u1fc2-\u1fcc\u1fd0-\u1fdb' - u'\u1fe0-\u1fec\u1ff2-\u1ffc\u2071\u207f\u2102\u2107\u210a-\u2113' - u'\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139' - u'\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c7c' - u'\u2c80-\u2ce4\u2d00-\u2d65\u2d80-\u2dde\u3006-\u3007\u3021-\u3029' - u'\u3038-\u303a\u303c\u3041-\u3096\u309f\u30a1-\u30fa\u30ff-\u318e' - u'\u31a0-\u31b7\u31f0-\u31ff\u3400-\u4db5\u4e00-\ua014\ua016-\ua48c' - u'\ua500-\ua60b\ua610-\ua61f\ua62a-\ua66e\ua680-\ua697\ua722-\ua76f' - u'\ua771-\ua787\ua78b-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822' - u'\ua840-\ua873\ua882-\ua8b3\ua90a-\ua925\ua930-\ua946\uaa00-\uaa28' - u'\uaa40-\uaa42\uaa44-\uaa4b\uac00-\ud7a3\uf900-\ufb1d\ufb1f-\ufb28' - u'\ufb2a-\ufd3d\ufd50-\ufdfb\ufe70-\ufefc\uff21-\uff3a\uff41-\uff5a' - u'\uff66-\uff6f\uff71-\uff9d\uffa0-\uffdc]') - - upper = (u'[A-Z\\$_\u00c0-\u00d6\u00d8-\u00de\u0100\u0102\u0104\u0106\u0108' - u'\u010a\u010c\u010e\u0110\u0112\u0114\u0116\u0118\u011a\u011c' - u'\u011e\u0120\u0122\u0124\u0126\u0128\u012a\u012c\u012e\u0130' - u'\u0132\u0134\u0136\u0139\u013b\u013d\u013f\u0141\u0143\u0145' - u'\u0147\u014a\u014c\u014e\u0150\u0152\u0154\u0156\u0158\u015a' - u'\u015c\u015e\u0160\u0162\u0164\u0166\u0168\u016a\u016c\u016e' - u'\u0170\u0172\u0174\u0176\u0178-\u0179\u017b\u017d\u0181-\u0182' - u'\u0184\u0186-\u0187\u0189-\u018b\u018e-\u0191\u0193-\u0194' - u'\u0196-\u0198\u019c-\u019d\u019f-\u01a0\u01a2\u01a4\u01a6-\u01a7' - u'\u01a9\u01ac\u01ae-\u01af\u01b1-\u01b3\u01b5\u01b7-\u01b8\u01bc' - u'\u01c4\u01c7\u01ca\u01cd\u01cf\u01d1\u01d3\u01d5\u01d7\u01d9' - u'\u01db\u01de\u01e0\u01e2\u01e4\u01e6\u01e8\u01ea\u01ec\u01ee' - u'\u01f1\u01f4\u01f6-\u01f8\u01fa\u01fc\u01fe\u0200\u0202\u0204' - u'\u0206\u0208\u020a\u020c\u020e\u0210\u0212\u0214\u0216\u0218' - u'\u021a\u021c\u021e\u0220\u0222\u0224\u0226\u0228\u022a\u022c' - u'\u022e\u0230\u0232\u023a-\u023b\u023d-\u023e\u0241\u0243-\u0246' - u'\u0248\u024a\u024c\u024e\u0370\u0372\u0376\u0386\u0388-\u038f' - u'\u0391-\u03ab\u03cf\u03d2-\u03d4\u03d8\u03da\u03dc\u03de\u03e0' - u'\u03e2\u03e4\u03e6\u03e8\u03ea\u03ec\u03ee\u03f4\u03f7' - u'\u03f9-\u03fa\u03fd-\u042f\u0460\u0462\u0464\u0466\u0468\u046a' - u'\u046c\u046e\u0470\u0472\u0474\u0476\u0478\u047a\u047c\u047e' - u'\u0480\u048a\u048c\u048e\u0490\u0492\u0494\u0496\u0498\u049a' - u'\u049c\u049e\u04a0\u04a2\u04a4\u04a6\u04a8\u04aa\u04ac\u04ae' - u'\u04b0\u04b2\u04b4\u04b6\u04b8\u04ba\u04bc\u04be\u04c0-\u04c1' - u'\u04c3\u04c5\u04c7\u04c9\u04cb\u04cd\u04d0\u04d2\u04d4\u04d6' - u'\u04d8\u04da\u04dc\u04de\u04e0\u04e2\u04e4\u04e6\u04e8\u04ea' - u'\u04ec\u04ee\u04f0\u04f2\u04f4\u04f6\u04f8\u04fa\u04fc\u04fe' - u'\u0500\u0502\u0504\u0506\u0508\u050a\u050c\u050e\u0510\u0512' - u'\u0514\u0516\u0518\u051a\u051c\u051e\u0520\u0522\u0531-\u0556' - u'\u10a0-\u10c5\u1e00\u1e02\u1e04\u1e06\u1e08\u1e0a\u1e0c\u1e0e' - u'\u1e10\u1e12\u1e14\u1e16\u1e18\u1e1a\u1e1c\u1e1e\u1e20\u1e22' - u'\u1e24\u1e26\u1e28\u1e2a\u1e2c\u1e2e\u1e30\u1e32\u1e34\u1e36' - u'\u1e38\u1e3a\u1e3c\u1e3e\u1e40\u1e42\u1e44\u1e46\u1e48\u1e4a' - u'\u1e4c\u1e4e\u1e50\u1e52\u1e54\u1e56\u1e58\u1e5a\u1e5c\u1e5e' - u'\u1e60\u1e62\u1e64\u1e66\u1e68\u1e6a\u1e6c\u1e6e\u1e70\u1e72' - u'\u1e74\u1e76\u1e78\u1e7a\u1e7c\u1e7e\u1e80\u1e82\u1e84\u1e86' - u'\u1e88\u1e8a\u1e8c\u1e8e\u1e90\u1e92\u1e94\u1e9e\u1ea0\u1ea2' - u'\u1ea4\u1ea6\u1ea8\u1eaa\u1eac\u1eae\u1eb0\u1eb2\u1eb4\u1eb6' - u'\u1eb8\u1eba\u1ebc\u1ebe\u1ec0\u1ec2\u1ec4\u1ec6\u1ec8\u1eca' - u'\u1ecc\u1ece\u1ed0\u1ed2\u1ed4\u1ed6\u1ed8\u1eda\u1edc\u1ede' - u'\u1ee0\u1ee2\u1ee4\u1ee6\u1ee8\u1eea\u1eec\u1eee\u1ef0\u1ef2' - u'\u1ef4\u1ef6\u1ef8\u1efa\u1efc\u1efe\u1f08-\u1f0f\u1f18-\u1f1d' - u'\u1f28-\u1f2f\u1f38-\u1f3f\u1f48-\u1f4d\u1f59-\u1f5f' - u'\u1f68-\u1f6f\u1fb8-\u1fbb\u1fc8-\u1fcb\u1fd8-\u1fdb' - u'\u1fe8-\u1fec\u1ff8-\u1ffb\u2102\u2107\u210b-\u210d\u2110-\u2112' - u'\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u2130-\u2133' - u'\u213e-\u213f\u2145\u2183\u2c00-\u2c2e\u2c60\u2c62-\u2c64\u2c67' - u'\u2c69\u2c6b\u2c6d-\u2c6f\u2c72\u2c75\u2c80\u2c82\u2c84\u2c86' - u'\u2c88\u2c8a\u2c8c\u2c8e\u2c90\u2c92\u2c94\u2c96\u2c98\u2c9a' - u'\u2c9c\u2c9e\u2ca0\u2ca2\u2ca4\u2ca6\u2ca8\u2caa\u2cac\u2cae' - u'\u2cb0\u2cb2\u2cb4\u2cb6\u2cb8\u2cba\u2cbc\u2cbe\u2cc0\u2cc2' - u'\u2cc4\u2cc6\u2cc8\u2cca\u2ccc\u2cce\u2cd0\u2cd2\u2cd4\u2cd6' - u'\u2cd8\u2cda\u2cdc\u2cde\u2ce0\u2ce2\ua640\ua642\ua644\ua646' - u'\ua648\ua64a\ua64c\ua64e\ua650\ua652\ua654\ua656\ua658\ua65a' - u'\ua65c\ua65e\ua662\ua664\ua666\ua668\ua66a\ua66c\ua680\ua682' - u'\ua684\ua686\ua688\ua68a\ua68c\ua68e\ua690\ua692\ua694\ua696' - u'\ua722\ua724\ua726\ua728\ua72a\ua72c\ua72e\ua732\ua734\ua736' - u'\ua738\ua73a\ua73c\ua73e\ua740\ua742\ua744\ua746\ua748\ua74a' - u'\ua74c\ua74e\ua750\ua752\ua754\ua756\ua758\ua75a\ua75c\ua75e' - u'\ua760\ua762\ua764\ua766\ua768\ua76a\ua76c\ua76e\ua779\ua77b' - u'\ua77d-\ua77e\ua780\ua782\ua784\ua786\ua78b\uff21-\uff3a]') - - idrest = u'%s(?:%s|[0-9])*(?:(?<=_)%s)?' % (letter, letter, op) - letter_letter_digit = u'%s(?:%s|\\d)*' % (letter, letter) + op = ('[-~\\^\\*!%&\\\\<>\\|+=:/?@\u00a6-\u00a7\u00a9\u00ac\u00ae\u00b0-\u00b1' + '\u00b6\u00d7\u00f7\u03f6\u0482\u0606-\u0608\u060e-\u060f\u06e9' + '\u06fd-\u06fe\u07f6\u09fa\u0b70\u0bf3-\u0bf8\u0bfa\u0c7f\u0cf1-\u0cf2' + '\u0d79\u0f01-\u0f03\u0f13-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38' + '\u0fbe-\u0fc5\u0fc7-\u0fcf\u109e-\u109f\u1360\u1390-\u1399\u1940' + '\u19e0-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u2044\u2052\u207a-\u207c' + '\u208a-\u208c\u2100-\u2101\u2103-\u2106\u2108-\u2109\u2114\u2116-\u2118' + '\u211e-\u2123\u2125\u2127\u2129\u212e\u213a-\u213b\u2140-\u2144' + '\u214a-\u214d\u214f\u2190-\u2328\u232b-\u244a\u249c-\u24e9\u2500-\u2767' + '\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb' + '\u29fe-\u2b54\u2ce5-\u2cea\u2e80-\u2ffb\u3004\u3012-\u3013\u3020' + '\u3036-\u3037\u303e-\u303f\u3190-\u3191\u3196-\u319f\u31c0-\u31e3' + '\u3200-\u321e\u322a-\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff' + '\u4dc0-\u4dff\ua490-\ua4c6\ua828-\ua82b\ufb29\ufdfd\ufe62\ufe64-\ufe66' + '\uff0b\uff1c-\uff1e\uff5c\uff5e\uffe2\uffe4\uffe8-\uffee\ufffc-\ufffd]+') + + letter = ('[a-zA-Z\\$_\u00aa\u00b5\u00ba\u00c0-\u00d6\u00d8-\u00f6' + '\u00f8-\u02af\u0370-\u0373\u0376-\u0377\u037b-\u037d\u0386' + '\u0388-\u03f5\u03f7-\u0481\u048a-\u0556\u0561-\u0587\u05d0-\u05f2' + '\u0621-\u063f\u0641-\u064a\u066e-\u066f\u0671-\u06d3\u06d5' + '\u06ee-\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5' + '\u07b1\u07ca-\u07ea\u0904-\u0939\u093d\u0950\u0958-\u0961' + '\u0972-\u097f\u0985-\u09b9\u09bd\u09ce\u09dc-\u09e1\u09f0-\u09f1' + '\u0a05-\u0a39\u0a59-\u0a5e\u0a72-\u0a74\u0a85-\u0ab9\u0abd' + '\u0ad0-\u0ae1\u0b05-\u0b39\u0b3d\u0b5c-\u0b61\u0b71\u0b83-\u0bb9' + '\u0bd0\u0c05-\u0c3d\u0c58-\u0c61\u0c85-\u0cb9\u0cbd\u0cde-\u0ce1' + '\u0d05-\u0d3d\u0d60-\u0d61\u0d7a-\u0d7f\u0d85-\u0dc6\u0e01-\u0e30' + '\u0e32-\u0e33\u0e40-\u0e45\u0e81-\u0eb0\u0eb2-\u0eb3\u0ebd-\u0ec4' + '\u0edc-\u0f00\u0f40-\u0f6c\u0f88-\u0f8b\u1000-\u102a\u103f' + '\u1050-\u1055\u105a-\u105d\u1061\u1065-\u1066\u106e-\u1070' + '\u1075-\u1081\u108e\u10a0-\u10fa\u1100-\u135a\u1380-\u138f' + '\u13a0-\u166c\u166f-\u1676\u1681-\u169a\u16a0-\u16ea\u16ee-\u1711' + '\u1720-\u1731\u1740-\u1751\u1760-\u1770\u1780-\u17b3\u17dc' + '\u1820-\u1842\u1844-\u18a8\u18aa-\u191c\u1950-\u19a9\u19c1-\u19c7' + '\u1a00-\u1a16\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae-\u1baf' + '\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c77\u1d00-\u1d2b\u1d62-\u1d77' + '\u1d79-\u1d9a\u1e00-\u1fbc\u1fbe\u1fc2-\u1fcc\u1fd0-\u1fdb' + '\u1fe0-\u1fec\u1ff2-\u1ffc\u2071\u207f\u2102\u2107\u210a-\u2113' + '\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139' + '\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c7c' + '\u2c80-\u2ce4\u2d00-\u2d65\u2d80-\u2dde\u3006-\u3007\u3021-\u3029' + '\u3038-\u303a\u303c\u3041-\u3096\u309f\u30a1-\u30fa\u30ff-\u318e' + '\u31a0-\u31b7\u31f0-\u31ff\u3400-\u4db5\u4e00-\ua014\ua016-\ua48c' + '\ua500-\ua60b\ua610-\ua61f\ua62a-\ua66e\ua680-\ua697\ua722-\ua76f' + '\ua771-\ua787\ua78b-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822' + '\ua840-\ua873\ua882-\ua8b3\ua90a-\ua925\ua930-\ua946\uaa00-\uaa28' + '\uaa40-\uaa42\uaa44-\uaa4b\uac00-\ud7a3\uf900-\ufb1d\ufb1f-\ufb28' + '\ufb2a-\ufd3d\ufd50-\ufdfb\ufe70-\ufefc\uff21-\uff3a\uff41-\uff5a' + '\uff66-\uff6f\uff71-\uff9d\uffa0-\uffdc]') + + upper = ('[A-Z\\$_\u00c0-\u00d6\u00d8-\u00de\u0100\u0102\u0104\u0106\u0108' + '\u010a\u010c\u010e\u0110\u0112\u0114\u0116\u0118\u011a\u011c' + '\u011e\u0120\u0122\u0124\u0126\u0128\u012a\u012c\u012e\u0130' + '\u0132\u0134\u0136\u0139\u013b\u013d\u013f\u0141\u0143\u0145' + '\u0147\u014a\u014c\u014e\u0150\u0152\u0154\u0156\u0158\u015a' + '\u015c\u015e\u0160\u0162\u0164\u0166\u0168\u016a\u016c\u016e' + '\u0170\u0172\u0174\u0176\u0178-\u0179\u017b\u017d\u0181-\u0182' + '\u0184\u0186-\u0187\u0189-\u018b\u018e-\u0191\u0193-\u0194' + '\u0196-\u0198\u019c-\u019d\u019f-\u01a0\u01a2\u01a4\u01a6-\u01a7' + '\u01a9\u01ac\u01ae-\u01af\u01b1-\u01b3\u01b5\u01b7-\u01b8\u01bc' + '\u01c4\u01c7\u01ca\u01cd\u01cf\u01d1\u01d3\u01d5\u01d7\u01d9' + '\u01db\u01de\u01e0\u01e2\u01e4\u01e6\u01e8\u01ea\u01ec\u01ee' + '\u01f1\u01f4\u01f6-\u01f8\u01fa\u01fc\u01fe\u0200\u0202\u0204' + '\u0206\u0208\u020a\u020c\u020e\u0210\u0212\u0214\u0216\u0218' + '\u021a\u021c\u021e\u0220\u0222\u0224\u0226\u0228\u022a\u022c' + '\u022e\u0230\u0232\u023a-\u023b\u023d-\u023e\u0241\u0243-\u0246' + '\u0248\u024a\u024c\u024e\u0370\u0372\u0376\u0386\u0388-\u038f' + '\u0391-\u03ab\u03cf\u03d2-\u03d4\u03d8\u03da\u03dc\u03de\u03e0' + '\u03e2\u03e4\u03e6\u03e8\u03ea\u03ec\u03ee\u03f4\u03f7' + '\u03f9-\u03fa\u03fd-\u042f\u0460\u0462\u0464\u0466\u0468\u046a' + '\u046c\u046e\u0470\u0472\u0474\u0476\u0478\u047a\u047c\u047e' + '\u0480\u048a\u048c\u048e\u0490\u0492\u0494\u0496\u0498\u049a' + '\u049c\u049e\u04a0\u04a2\u04a4\u04a6\u04a8\u04aa\u04ac\u04ae' + '\u04b0\u04b2\u04b4\u04b6\u04b8\u04ba\u04bc\u04be\u04c0-\u04c1' + '\u04c3\u04c5\u04c7\u04c9\u04cb\u04cd\u04d0\u04d2\u04d4\u04d6' + '\u04d8\u04da\u04dc\u04de\u04e0\u04e2\u04e4\u04e6\u04e8\u04ea' + '\u04ec\u04ee\u04f0\u04f2\u04f4\u04f6\u04f8\u04fa\u04fc\u04fe' + '\u0500\u0502\u0504\u0506\u0508\u050a\u050c\u050e\u0510\u0512' + '\u0514\u0516\u0518\u051a\u051c\u051e\u0520\u0522\u0531-\u0556' + '\u10a0-\u10c5\u1e00\u1e02\u1e04\u1e06\u1e08\u1e0a\u1e0c\u1e0e' + '\u1e10\u1e12\u1e14\u1e16\u1e18\u1e1a\u1e1c\u1e1e\u1e20\u1e22' + '\u1e24\u1e26\u1e28\u1e2a\u1e2c\u1e2e\u1e30\u1e32\u1e34\u1e36' + '\u1e38\u1e3a\u1e3c\u1e3e\u1e40\u1e42\u1e44\u1e46\u1e48\u1e4a' + '\u1e4c\u1e4e\u1e50\u1e52\u1e54\u1e56\u1e58\u1e5a\u1e5c\u1e5e' + '\u1e60\u1e62\u1e64\u1e66\u1e68\u1e6a\u1e6c\u1e6e\u1e70\u1e72' + '\u1e74\u1e76\u1e78\u1e7a\u1e7c\u1e7e\u1e80\u1e82\u1e84\u1e86' + '\u1e88\u1e8a\u1e8c\u1e8e\u1e90\u1e92\u1e94\u1e9e\u1ea0\u1ea2' + '\u1ea4\u1ea6\u1ea8\u1eaa\u1eac\u1eae\u1eb0\u1eb2\u1eb4\u1eb6' + '\u1eb8\u1eba\u1ebc\u1ebe\u1ec0\u1ec2\u1ec4\u1ec6\u1ec8\u1eca' + '\u1ecc\u1ece\u1ed0\u1ed2\u1ed4\u1ed6\u1ed8\u1eda\u1edc\u1ede' + '\u1ee0\u1ee2\u1ee4\u1ee6\u1ee8\u1eea\u1eec\u1eee\u1ef0\u1ef2' + '\u1ef4\u1ef6\u1ef8\u1efa\u1efc\u1efe\u1f08-\u1f0f\u1f18-\u1f1d' + '\u1f28-\u1f2f\u1f38-\u1f3f\u1f48-\u1f4d\u1f59-\u1f5f' + '\u1f68-\u1f6f\u1fb8-\u1fbb\u1fc8-\u1fcb\u1fd8-\u1fdb' + '\u1fe8-\u1fec\u1ff8-\u1ffb\u2102\u2107\u210b-\u210d\u2110-\u2112' + '\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u2130-\u2133' + '\u213e-\u213f\u2145\u2183\u2c00-\u2c2e\u2c60\u2c62-\u2c64\u2c67' + '\u2c69\u2c6b\u2c6d-\u2c6f\u2c72\u2c75\u2c80\u2c82\u2c84\u2c86' + '\u2c88\u2c8a\u2c8c\u2c8e\u2c90\u2c92\u2c94\u2c96\u2c98\u2c9a' + '\u2c9c\u2c9e\u2ca0\u2ca2\u2ca4\u2ca6\u2ca8\u2caa\u2cac\u2cae' + '\u2cb0\u2cb2\u2cb4\u2cb6\u2cb8\u2cba\u2cbc\u2cbe\u2cc0\u2cc2' + '\u2cc4\u2cc6\u2cc8\u2cca\u2ccc\u2cce\u2cd0\u2cd2\u2cd4\u2cd6' + '\u2cd8\u2cda\u2cdc\u2cde\u2ce0\u2ce2\ua640\ua642\ua644\ua646' + '\ua648\ua64a\ua64c\ua64e\ua650\ua652\ua654\ua656\ua658\ua65a' + '\ua65c\ua65e\ua662\ua664\ua666\ua668\ua66a\ua66c\ua680\ua682' + '\ua684\ua686\ua688\ua68a\ua68c\ua68e\ua690\ua692\ua694\ua696' + '\ua722\ua724\ua726\ua728\ua72a\ua72c\ua72e\ua732\ua734\ua736' + '\ua738\ua73a\ua73c\ua73e\ua740\ua742\ua744\ua746\ua748\ua74a' + '\ua74c\ua74e\ua750\ua752\ua754\ua756\ua758\ua75a\ua75c\ua75e' + '\ua760\ua762\ua764\ua766\ua768\ua76a\ua76c\ua76e\ua779\ua77b' + '\ua77d-\ua77e\ua780\ua782\ua784\ua786\ua78b\uff21-\uff3a]') + + idrest = '%s(?:%s|[0-9])*(?:(?<=_)%s)?' % (letter, letter, op) + letter_letter_digit = '%s(?:%s|\\d)*' % (letter, letter) tokens = { 'root': [ @@ -272,26 +272,26 @@ class ScalaLexer(RegexLexer): (r'(class|trait|object)(\s+)', bygroups(Keyword, Text), 'class'), (r'[^\S\n]+', Text), include('comments'), - (u'@%s' % idrest, Name.Decorator), - (u'(abstract|ca(?:se|tch)|d(?:ef|o)|e(?:lse|xtends)|' - u'f(?:inal(?:ly)?|or(?:Some)?)|i(?:f|mplicit)|' - u'lazy|match|new|override|pr(?:ivate|otected)' - u'|re(?:quires|turn)|s(?:ealed|uper)|' - u't(?:h(?:is|row)|ry)|va[lr]|w(?:hile|ith)|yield)\\b|' - u'(<[%:-]|=>|>:|[#=@_\u21D2\u2190])\\b', Keyword), - (u':(?!%s)' % op, Keyword, 'type'), - (u'%s%s\\b' % (upper, idrest), Name.Class), + (r'@%s' % idrest, Name.Decorator), + (r'(abstract|ca(?:se|tch)|d(?:ef|o)|e(?:lse|xtends)|' + r'f(?:inal(?:ly)?|or(?:Some)?)|i(?:f|mplicit)|' + r'lazy|match|new|override|pr(?:ivate|otected)' + r'|re(?:quires|turn)|s(?:ealed|uper)|' + r't(?:h(?:is|row)|ry)|va[lr]|w(?:hile|ith)|yield)\b|' + r'(<[%:-]|=>|>:|[#=@_\u21D2\u2190])\b', Keyword), + (r':(?!%s)' % op, Keyword, 'type'), + (r'%s%s\b' % (upper, idrest), Name.Class), (r'(true|false|null)\b', Keyword.Constant), (r'(import|package)(\s+)', bygroups(Keyword, Text), 'import'), (r'(type)(\s+)', bygroups(Keyword, Text), 'type'), (r'""".*?"""(?!")', String), (r'"(\\\\|\\"|[^"])*"', String), (r"'\\.'|'[^\\]'|'\\u[0-9a-fA-F]{4}'", String.Char), - (u"'%s" % idrest, Text.Symbol), + (r"'%s" % idrest, Text.Symbol), (r'[fs]"""', String, 'interptriplestring'), # interpolated strings (r'[fs]"', String, 'interpstring'), # interpolated strings (r'raw"(\\\\|\\"|[^"])*"', String), # raw strings - # (ur'(\.)(%s|%s|`[^`]+`)' % (idrest, op), bygroups(Operator, + # (r'(\.)(%s|%s|`[^`]+`)' % (idrest, op), bygroups(Operator, # Name.Attribute)), (idrest, Name), (r'`[^`]+`', Name), @@ -305,27 +305,27 @@ class ScalaLexer(RegexLexer): (r'\n', Text) ], 'class': [ - (u'(%s|%s|`[^`]+`)(\\s*)(\\[)' % (idrest, op), + (r'(%s|%s|`[^`]+`)(\s*)(\[)' % (idrest, op), bygroups(Name.Class, Text, Operator), ('#pop', 'typeparam')), (r'\s+', Text), include('comments'), (r'\{', Operator, '#pop'), (r'\(', Operator, '#pop'), - (u'%s|%s|`[^`]+`' % (idrest, op), Name.Class, '#pop'), + (r'%s|%s|`[^`]+`' % (idrest, op), Name.Class, '#pop'), ], 'type': [ (r'\s+', Text), include('comments'), (r'<[%:]|>:|[#_]|\bforSome\b|\btype\b', Keyword), - (u'([,);}]|=>|=|\u21d2)(\\s*)', bygroups(Operator, Text), '#pop'), + (r'([,);}]|=>|=|\u21d2)(\s*)', bygroups(Operator, Text), '#pop'), (r'[({]', Operator, '#push'), - (u'((?:%s|%s|`[^`]+`)(?:\\.(?:%s|%s|`[^`]+`))*)(\\s*)(\\[)' % + (r'((?:%s|%s|`[^`]+`)(?:\.(?:%s|%s|`[^`]+`))*)(\s*)(\[)' % (idrest, op, idrest, op), bygroups(Keyword.Type, Text, Operator), ('#pop', 'typeparam')), - (u'((?:%s|%s|`[^`]+`)(?:\\.(?:%s|%s|`[^`]+`))*)(\\s*)$' % + (r'((?:%s|%s|`[^`]+`)(?:\.(?:%s|%s|`[^`]+`))*)(\s*)$' % (idrest, op, idrest, op), bygroups(Keyword.Type, Text), '#pop'), - (u'\\.|%s|%s|`[^`]+`' % (idrest, op), Keyword.Type) + (r'\.|%s|%s|`[^`]+`' % (idrest, op), Keyword.Type) ], 'typeparam': [ (r'\s+', Text), @@ -334,7 +334,7 @@ class ScalaLexer(RegexLexer): (r'<[%:]|=>|>:|[#_\u21D2]|\bforSome\b|\btype\b', Keyword), (r'([\])}])', Operator, '#pop'), (r'[(\[{]', Operator, '#push'), - (u'\\.|%s|%s|`[^`]+`' % (idrest, op), Keyword.Type) + (r'\.|%s|%s|`[^`]+`' % (idrest, op), Keyword.Type) ], 'comments': [ (r'//.*?\n', Comment.Single), @@ -347,7 +347,7 @@ class ScalaLexer(RegexLexer): (r'[*/]', Comment.Multiline) ], 'import': [ - (u'(%s|\\.)+' % idrest, Name.Namespace, '#pop') + (r'(%s|\.)+' % idrest, Name.Namespace, '#pop') ], 'interpstringcommon': [ (r'[^"$\\]+', String), @@ -698,9 +698,9 @@ class IokeLexer(RegexLexer): r'System|Text|Tuple)(?![\w!:?])', Name.Builtin), # functions - (u'(generateMatchMethod|aliasMethod|\u03bb|\u028E|fnx|fn|method|' - u'dmacro|dlecro|syntax|macro|dlecrox|lecrox|lecro|syntax)' - u'(?![\\w!:?])', Name.Function), + ('(generateMatchMethod|aliasMethod|\u03bb|\u028E|fnx|fn|method|' + 'dmacro|dlecro|syntax|macro|dlecrox|lecrox|lecro|syntax)' + '(?![\\w!:?])', Name.Function), # Numbers (r'-?0[xX][0-9a-fA-F]+', Number.Hex), @@ -716,7 +716,7 @@ class IokeLexer(RegexLexer): r'\-\-|<=|>=|==|!=|&&|\.\.|\+=|\-=|\*=|\/=|%=|&=|\^=|\|=|<\-|' r'\+>|!>|<>|&>|%>|#>|\@>|\/>|\*>|\?>|\|>|\^>|~>|\$>|<\->|\->|' r'<<|>>|\*\*|\?\||\?&|\|\||>|<|\*|\/|%|\+|\-|&|\^|\||=|\$|!|~|' - u'\\?|#|\u2260|\u2218|\u2208|\u2209)', Operator), + r'\?|#|\u2260|\u2218|\u2208|\u2209)', Operator), (r'(and|nand|or|xor|nor|return|import)(?![\w!?])', Operator), @@ -1017,7 +1017,7 @@ class KotlinLexer(RegexLexer): .. versionadded:: 1.5 """ - + name = 'Kotlin' aliases = ['kotlin'] filenames = ['*.kt'] @@ -1028,7 +1028,7 @@ class KotlinLexer(RegexLexer): kt_name = ('@?[_' + uni.combine('Lu', 'Ll', 'Lt', 'Lm', 'Nl') + ']' + '[' + uni.combine('Lu', 'Ll', 'Lt', 'Lm', 'Nl', 'Nd', 'Pc', 'Cf', 'Mn', 'Mc') + ']*') - + kt_space_name = ('@?[_' + uni.combine('Lu', 'Ll', 'Lt', 'Lm', 'Nl') + ']' + '[' + uni.combine('Lu', 'Ll', 'Lt', 'Lm', 'Nl', 'Nd', 'Pc', 'Cf', 'Mn', 'Mc', 'Zs') + ',-]*') @@ -1142,7 +1142,7 @@ class XtendLexer(RegexLexer): 'class'), (r'(import)(\s+)', bygroups(Keyword.Namespace, Text), 'import'), (r"(''')", String, 'template'), - (u'(\u00BB)', String, 'template'), + (r'(\u00BB)', String, 'template'), (r'"(\\\\|\\"|[^"])*"', String), (r"'(\\\\|\\'|[^'])*'", String), (r'[a-zA-Z_]\w*:', Name.Label), @@ -1161,7 +1161,7 @@ class XtendLexer(RegexLexer): ], 'template': [ (r"'''", String, '#pop'), - (u'\u00AB', String, '#pop'), + (r'\u00AB', String, '#pop'), (r'.', String) ], } diff --git a/pygments/lexers/lisp.py b/pygments/lexers/lisp.py index 5dee6c6f..47efb4fb 100644 --- a/pygments/lexers/lisp.py +++ b/pygments/lexers/lisp.py @@ -471,779 +471,779 @@ class RacketLexer(RegexLexer): # Generated by example.rkt _keywords = ( - u'#%app', u'#%datum', u'#%declare', u'#%expression', u'#%module-begin', - u'#%plain-app', u'#%plain-lambda', u'#%plain-module-begin', - u'#%printing-module-begin', u'#%provide', u'#%require', - u'#%stratified-body', u'#%top', u'#%top-interaction', - u'#%variable-reference', u'->', u'->*', u'->*m', u'->d', u'->dm', u'->i', - u'->m', u'...', u':do-in', u'==', u'=>', u'_', u'absent', u'abstract', - u'all-defined-out', u'all-from-out', u'and', u'any', u'augment', u'augment*', - u'augment-final', u'augment-final*', u'augride', u'augride*', u'begin', - u'begin-for-syntax', u'begin0', u'case', u'case->', u'case->m', - u'case-lambda', u'class', u'class*', u'class-field-accessor', - u'class-field-mutator', u'class/c', u'class/derived', u'combine-in', - u'combine-out', u'command-line', u'compound-unit', u'compound-unit/infer', - u'cond', u'cons/dc', u'contract', u'contract-out', u'contract-struct', - u'contracted', u'define', u'define-compound-unit', - u'define-compound-unit/infer', u'define-contract-struct', - u'define-custom-hash-types', u'define-custom-set-types', - u'define-for-syntax', u'define-local-member-name', u'define-logger', - u'define-match-expander', u'define-member-name', - u'define-module-boundary-contract', u'define-namespace-anchor', - u'define-opt/c', u'define-sequence-syntax', u'define-serializable-class', - u'define-serializable-class*', u'define-signature', - u'define-signature-form', u'define-struct', u'define-struct/contract', - u'define-struct/derived', u'define-syntax', u'define-syntax-rule', - u'define-syntaxes', u'define-unit', u'define-unit-binding', - u'define-unit-from-context', u'define-unit/contract', - u'define-unit/new-import-export', u'define-unit/s', u'define-values', - u'define-values-for-export', u'define-values-for-syntax', - u'define-values/invoke-unit', u'define-values/invoke-unit/infer', - u'define/augment', u'define/augment-final', u'define/augride', - u'define/contract', u'define/final-prop', u'define/match', - u'define/overment', u'define/override', u'define/override-final', - u'define/private', u'define/public', u'define/public-final', - u'define/pubment', u'define/subexpression-pos-prop', - u'define/subexpression-pos-prop/name', u'delay', u'delay/idle', - u'delay/name', u'delay/strict', u'delay/sync', u'delay/thread', u'do', - u'else', u'except', u'except-in', u'except-out', u'export', u'extends', - u'failure-cont', u'false', u'false/c', u'field', u'field-bound?', u'file', - u'flat-murec-contract', u'flat-rec-contract', u'for', u'for*', u'for*/and', - u'for*/async', u'for*/first', u'for*/fold', u'for*/fold/derived', - u'for*/hash', u'for*/hasheq', u'for*/hasheqv', u'for*/last', u'for*/list', - u'for*/lists', u'for*/mutable-set', u'for*/mutable-seteq', - u'for*/mutable-seteqv', u'for*/or', u'for*/product', u'for*/set', - u'for*/seteq', u'for*/seteqv', u'for*/stream', u'for*/sum', u'for*/vector', - u'for*/weak-set', u'for*/weak-seteq', u'for*/weak-seteqv', u'for-label', - u'for-meta', u'for-syntax', u'for-template', u'for/and', u'for/async', - u'for/first', u'for/fold', u'for/fold/derived', u'for/hash', u'for/hasheq', - u'for/hasheqv', u'for/last', u'for/list', u'for/lists', u'for/mutable-set', - u'for/mutable-seteq', u'for/mutable-seteqv', u'for/or', u'for/product', - u'for/set', u'for/seteq', u'for/seteqv', u'for/stream', u'for/sum', - u'for/vector', u'for/weak-set', u'for/weak-seteq', u'for/weak-seteqv', - u'gen:custom-write', u'gen:dict', u'gen:equal+hash', u'gen:set', - u'gen:stream', u'generic', u'get-field', u'hash/dc', u'if', u'implies', - u'import', u'include', u'include-at/relative-to', - u'include-at/relative-to/reader', u'include/reader', u'inherit', - u'inherit-field', u'inherit/inner', u'inherit/super', u'init', - u'init-depend', u'init-field', u'init-rest', u'inner', u'inspect', - u'instantiate', u'interface', u'interface*', u'invariant-assertion', - u'invoke-unit', u'invoke-unit/infer', u'lambda', u'lazy', u'let', u'let*', - u'let*-values', u'let-syntax', u'let-syntaxes', u'let-values', u'let/cc', - u'let/ec', u'letrec', u'letrec-syntax', u'letrec-syntaxes', - u'letrec-syntaxes+values', u'letrec-values', u'lib', u'link', u'local', - u'local-require', u'log-debug', u'log-error', u'log-fatal', u'log-info', - u'log-warning', u'match', u'match*', u'match*/derived', u'match-define', - u'match-define-values', u'match-lambda', u'match-lambda*', - u'match-lambda**', u'match-let', u'match-let*', u'match-let*-values', - u'match-let-values', u'match-letrec', u'match-letrec-values', - u'match/derived', u'match/values', u'member-name-key', u'mixin', u'module', - u'module*', u'module+', u'nand', u'new', u'nor', u'object-contract', - u'object/c', u'only', u'only-in', u'only-meta-in', u'open', u'opt/c', u'or', - u'overment', u'overment*', u'override', u'override*', u'override-final', - u'override-final*', u'parameterize', u'parameterize*', - u'parameterize-break', u'parametric->/c', u'place', u'place*', - u'place/context', u'planet', u'prefix', u'prefix-in', u'prefix-out', - u'private', u'private*', u'prompt-tag/c', u'protect-out', u'provide', - u'provide-signature-elements', u'provide/contract', u'public', u'public*', - u'public-final', u'public-final*', u'pubment', u'pubment*', u'quasiquote', - u'quasisyntax', u'quasisyntax/loc', u'quote', u'quote-syntax', - u'quote-syntax/prune', u'recontract-out', u'recursive-contract', - u'relative-in', u'rename', u'rename-in', u'rename-inner', u'rename-out', - u'rename-super', u'require', u'send', u'send*', u'send+', u'send-generic', - u'send/apply', u'send/keyword-apply', u'set!', u'set!-values', - u'set-field!', u'shared', u'stream', u'stream*', u'stream-cons', u'struct', - u'struct*', u'struct-copy', u'struct-field-index', u'struct-out', - u'struct/c', u'struct/ctc', u'struct/dc', u'submod', u'super', - u'super-instantiate', u'super-make-object', u'super-new', u'syntax', - u'syntax-case', u'syntax-case*', u'syntax-id-rules', u'syntax-rules', - u'syntax/loc', u'tag', u'this', u'this%', u'thunk', u'thunk*', u'time', - u'unconstrained-domain->', u'unit', u'unit-from-context', u'unit/c', - u'unit/new-import-export', u'unit/s', u'unless', u'unquote', - u'unquote-splicing', u'unsyntax', u'unsyntax-splicing', u'values/drop', - u'when', u'with-continuation-mark', u'with-contract', - u'with-contract-continuation-mark', u'with-handlers', u'with-handlers*', - u'with-method', u'with-syntax', u'λ' + '#%app', '#%datum', '#%declare', '#%expression', '#%module-begin', + '#%plain-app', '#%plain-lambda', '#%plain-module-begin', + '#%printing-module-begin', '#%provide', '#%require', + '#%stratified-body', '#%top', '#%top-interaction', + '#%variable-reference', '->', '->*', '->*m', '->d', '->dm', '->i', + '->m', '...', ':do-in', '==', '=>', '_', 'absent', 'abstract', + 'all-defined-out', 'all-from-out', 'and', 'any', 'augment', 'augment*', + 'augment-final', 'augment-final*', 'augride', 'augride*', 'begin', + 'begin-for-syntax', 'begin0', 'case', 'case->', 'case->m', + 'case-lambda', 'class', 'class*', 'class-field-accessor', + 'class-field-mutator', 'class/c', 'class/derived', 'combine-in', + 'combine-out', 'command-line', 'compound-unit', 'compound-unit/infer', + 'cond', 'cons/dc', 'contract', 'contract-out', 'contract-struct', + 'contracted', 'define', 'define-compound-unit', + 'define-compound-unit/infer', 'define-contract-struct', + 'define-custom-hash-types', 'define-custom-set-types', + 'define-for-syntax', 'define-local-member-name', 'define-logger', + 'define-match-expander', 'define-member-name', + 'define-module-boundary-contract', 'define-namespace-anchor', + 'define-opt/c', 'define-sequence-syntax', 'define-serializable-class', + 'define-serializable-class*', 'define-signature', + 'define-signature-form', 'define-struct', 'define-struct/contract', + 'define-struct/derived', 'define-syntax', 'define-syntax-rule', + 'define-syntaxes', 'define-unit', 'define-unit-binding', + 'define-unit-from-context', 'define-unit/contract', + 'define-unit/new-import-export', 'define-unit/s', 'define-values', + 'define-values-for-export', 'define-values-for-syntax', + 'define-values/invoke-unit', 'define-values/invoke-unit/infer', + 'define/augment', 'define/augment-final', 'define/augride', + 'define/contract', 'define/final-prop', 'define/match', + 'define/overment', 'define/override', 'define/override-final', + 'define/private', 'define/public', 'define/public-final', + 'define/pubment', 'define/subexpression-pos-prop', + 'define/subexpression-pos-prop/name', 'delay', 'delay/idle', + 'delay/name', 'delay/strict', 'delay/sync', 'delay/thread', 'do', + 'else', 'except', 'except-in', 'except-out', 'export', 'extends', + 'failure-cont', 'false', 'false/c', 'field', 'field-bound?', 'file', + 'flat-murec-contract', 'flat-rec-contract', 'for', 'for*', 'for*/and', + 'for*/async', 'for*/first', 'for*/fold', 'for*/fold/derived', + 'for*/hash', 'for*/hasheq', 'for*/hasheqv', 'for*/last', 'for*/list', + 'for*/lists', 'for*/mutable-set', 'for*/mutable-seteq', + 'for*/mutable-seteqv', 'for*/or', 'for*/product', 'for*/set', + 'for*/seteq', 'for*/seteqv', 'for*/stream', 'for*/sum', 'for*/vector', + 'for*/weak-set', 'for*/weak-seteq', 'for*/weak-seteqv', 'for-label', + 'for-meta', 'for-syntax', 'for-template', 'for/and', 'for/async', + 'for/first', 'for/fold', 'for/fold/derived', 'for/hash', 'for/hasheq', + 'for/hasheqv', 'for/last', 'for/list', 'for/lists', 'for/mutable-set', + 'for/mutable-seteq', 'for/mutable-seteqv', 'for/or', 'for/product', + 'for/set', 'for/seteq', 'for/seteqv', 'for/stream', 'for/sum', + 'for/vector', 'for/weak-set', 'for/weak-seteq', 'for/weak-seteqv', + 'gen:custom-write', 'gen:dict', 'gen:equal+hash', 'gen:set', + 'gen:stream', 'generic', 'get-field', 'hash/dc', 'if', 'implies', + 'import', 'include', 'include-at/relative-to', + 'include-at/relative-to/reader', 'include/reader', 'inherit', + 'inherit-field', 'inherit/inner', 'inherit/super', 'init', + 'init-depend', 'init-field', 'init-rest', 'inner', 'inspect', + 'instantiate', 'interface', 'interface*', 'invariant-assertion', + 'invoke-unit', 'invoke-unit/infer', 'lambda', 'lazy', 'let', 'let*', + 'let*-values', 'let-syntax', 'let-syntaxes', 'let-values', 'let/cc', + 'let/ec', 'letrec', 'letrec-syntax', 'letrec-syntaxes', + 'letrec-syntaxes+values', 'letrec-values', 'lib', 'link', 'local', + 'local-require', 'log-debug', 'log-error', 'log-fatal', 'log-info', + 'log-warning', 'match', 'match*', 'match*/derived', 'match-define', + 'match-define-values', 'match-lambda', 'match-lambda*', + 'match-lambda**', 'match-let', 'match-let*', 'match-let*-values', + 'match-let-values', 'match-letrec', 'match-letrec-values', + 'match/derived', 'match/values', 'member-name-key', 'mixin', 'module', + 'module*', 'module+', 'nand', 'new', 'nor', 'object-contract', + 'object/c', 'only', 'only-in', 'only-meta-in', 'open', 'opt/c', 'or', + 'overment', 'overment*', 'override', 'override*', 'override-final', + 'override-final*', 'parameterize', 'parameterize*', + 'parameterize-break', 'parametric->/c', 'place', 'place*', + 'place/context', 'planet', 'prefix', 'prefix-in', 'prefix-out', + 'private', 'private*', 'prompt-tag/c', 'protect-out', 'provide', + 'provide-signature-elements', 'provide/contract', 'public', 'public*', + 'public-final', 'public-final*', 'pubment', 'pubment*', 'quasiquote', + 'quasisyntax', 'quasisyntax/loc', 'quote', 'quote-syntax', + 'quote-syntax/prune', 'recontract-out', 'recursive-contract', + 'relative-in', 'rename', 'rename-in', 'rename-inner', 'rename-out', + 'rename-super', 'require', 'send', 'send*', 'send+', 'send-generic', + 'send/apply', 'send/keyword-apply', 'set!', 'set!-values', + 'set-field!', 'shared', 'stream', 'stream*', 'stream-cons', 'struct', + 'struct*', 'struct-copy', 'struct-field-index', 'struct-out', + 'struct/c', 'struct/ctc', 'struct/dc', 'submod', 'super', + 'super-instantiate', 'super-make-object', 'super-new', 'syntax', + 'syntax-case', 'syntax-case*', 'syntax-id-rules', 'syntax-rules', + 'syntax/loc', 'tag', 'this', 'this%', 'thunk', 'thunk*', 'time', + 'unconstrained-domain->', 'unit', 'unit-from-context', 'unit/c', + 'unit/new-import-export', 'unit/s', 'unless', 'unquote', + 'unquote-splicing', 'unsyntax', 'unsyntax-splicing', 'values/drop', + 'when', 'with-continuation-mark', 'with-contract', + 'with-contract-continuation-mark', 'with-handlers', 'with-handlers*', + 'with-method', 'with-syntax', 'λ' ) # Generated by example.rkt _builtins = ( - u'*', u'*list/c', u'+', u'-', u'/', u'<', u'</c', u'<=', u'<=/c', u'=', u'=/c', - u'>', u'>/c', u'>=', u'>=/c', u'abort-current-continuation', u'abs', - u'absolute-path?', u'acos', u'add-between', u'add1', u'alarm-evt', - u'always-evt', u'and/c', u'andmap', u'angle', u'any/c', u'append', u'append*', - u'append-map', u'apply', u'argmax', u'argmin', u'arithmetic-shift', - u'arity-at-least', u'arity-at-least-value', u'arity-at-least?', - u'arity-checking-wrapper', u'arity-includes?', u'arity=?', - u'arrow-contract-info', u'arrow-contract-info-accepts-arglist', - u'arrow-contract-info-chaperone-procedure', - u'arrow-contract-info-check-first-order', u'arrow-contract-info?', - u'asin', u'assf', u'assoc', u'assq', u'assv', u'atan', - u'bad-number-of-results', u'banner', u'base->-doms/c', u'base->-rngs/c', - u'base->?', u'between/c', u'bitwise-and', u'bitwise-bit-field', - u'bitwise-bit-set?', u'bitwise-ior', u'bitwise-not', u'bitwise-xor', - u'blame-add-car-context', u'blame-add-cdr-context', u'blame-add-context', - u'blame-add-missing-party', u'blame-add-nth-arg-context', - u'blame-add-range-context', u'blame-add-unknown-context', - u'blame-context', u'blame-contract', u'blame-fmt->-string', - u'blame-missing-party?', u'blame-negative', u'blame-original?', - u'blame-positive', u'blame-replace-negative', u'blame-source', - u'blame-swap', u'blame-swapped?', u'blame-update', u'blame-value', - u'blame?', u'boolean=?', u'boolean?', u'bound-identifier=?', u'box', - u'box-cas!', u'box-immutable', u'box-immutable/c', u'box/c', u'box?', - u'break-enabled', u'break-parameterization?', u'break-thread', - u'build-chaperone-contract-property', u'build-compound-type-name', - u'build-contract-property', u'build-flat-contract-property', - u'build-list', u'build-path', u'build-path/convention-type', - u'build-string', u'build-vector', u'byte-pregexp', u'byte-pregexp?', - u'byte-ready?', u'byte-regexp', u'byte-regexp?', u'byte?', u'bytes', - u'bytes->immutable-bytes', u'bytes->list', u'bytes->path', - u'bytes->path-element', u'bytes->string/latin-1', u'bytes->string/locale', - u'bytes->string/utf-8', u'bytes-append', u'bytes-append*', - u'bytes-close-converter', u'bytes-convert', u'bytes-convert-end', - u'bytes-converter?', u'bytes-copy', u'bytes-copy!', - u'bytes-environment-variable-name?', u'bytes-fill!', u'bytes-join', - u'bytes-length', u'bytes-no-nuls?', u'bytes-open-converter', u'bytes-ref', - u'bytes-set!', u'bytes-utf-8-index', u'bytes-utf-8-length', - u'bytes-utf-8-ref', u'bytes<?', u'bytes=?', u'bytes>?', u'bytes?', u'caaaar', - u'caaadr', u'caaar', u'caadar', u'caaddr', u'caadr', u'caar', u'cadaar', - u'cadadr', u'cadar', u'caddar', u'cadddr', u'caddr', u'cadr', - u'call-in-nested-thread', u'call-with-atomic-output-file', - u'call-with-break-parameterization', - u'call-with-composable-continuation', u'call-with-continuation-barrier', - u'call-with-continuation-prompt', u'call-with-current-continuation', - u'call-with-default-reading-parameterization', - u'call-with-escape-continuation', u'call-with-exception-handler', - u'call-with-file-lock/timeout', u'call-with-immediate-continuation-mark', - u'call-with-input-bytes', u'call-with-input-file', - u'call-with-input-file*', u'call-with-input-string', - u'call-with-output-bytes', u'call-with-output-file', - u'call-with-output-file*', u'call-with-output-string', - u'call-with-parameterization', u'call-with-semaphore', - u'call-with-semaphore/enable-break', u'call-with-values', u'call/cc', - u'call/ec', u'car', u'cartesian-product', u'cdaaar', u'cdaadr', u'cdaar', - u'cdadar', u'cdaddr', u'cdadr', u'cdar', u'cddaar', u'cddadr', u'cddar', - u'cdddar', u'cddddr', u'cdddr', u'cddr', u'cdr', u'ceiling', u'channel-get', - u'channel-put', u'channel-put-evt', u'channel-put-evt?', - u'channel-try-get', u'channel/c', u'channel?', u'chaperone-box', - u'chaperone-channel', u'chaperone-continuation-mark-key', - u'chaperone-contract-property?', u'chaperone-contract?', u'chaperone-evt', - u'chaperone-hash', u'chaperone-hash-set', u'chaperone-of?', - u'chaperone-procedure', u'chaperone-procedure*', u'chaperone-prompt-tag', - u'chaperone-struct', u'chaperone-struct-type', u'chaperone-vector', - u'chaperone?', u'char->integer', u'char-alphabetic?', u'char-blank?', - u'char-ci<=?', u'char-ci<?', u'char-ci=?', u'char-ci>=?', u'char-ci>?', - u'char-downcase', u'char-foldcase', u'char-general-category', - u'char-graphic?', u'char-in', u'char-in/c', u'char-iso-control?', - u'char-lower-case?', u'char-numeric?', u'char-punctuation?', - u'char-ready?', u'char-symbolic?', u'char-title-case?', u'char-titlecase', - u'char-upcase', u'char-upper-case?', u'char-utf-8-length', - u'char-whitespace?', u'char<=?', u'char<?', u'char=?', u'char>=?', u'char>?', - u'char?', u'check-duplicate-identifier', u'check-duplicates', - u'checked-procedure-check-and-extract', u'choice-evt', - u'class->interface', u'class-info', u'class-seal', u'class-unseal', - u'class?', u'cleanse-path', u'close-input-port', u'close-output-port', - u'coerce-chaperone-contract', u'coerce-chaperone-contracts', - u'coerce-contract', u'coerce-contract/f', u'coerce-contracts', - u'coerce-flat-contract', u'coerce-flat-contracts', u'collect-garbage', - u'collection-file-path', u'collection-path', u'combinations', u'compile', - u'compile-allow-set!-undefined', u'compile-context-preservation-enabled', - u'compile-enforce-module-constants', u'compile-syntax', - u'compiled-expression-recompile', u'compiled-expression?', - u'compiled-module-expression?', u'complete-path?', u'complex?', u'compose', - u'compose1', u'conjoin', u'conjugate', u'cons', u'cons/c', u'cons?', u'const', - u'continuation-mark-key/c', u'continuation-mark-key?', - u'continuation-mark-set->context', u'continuation-mark-set->list', - u'continuation-mark-set->list*', u'continuation-mark-set-first', - u'continuation-mark-set?', u'continuation-marks', - u'continuation-prompt-available?', u'continuation-prompt-tag?', - u'continuation?', u'contract-continuation-mark-key', - u'contract-custom-write-property-proc', u'contract-exercise', - u'contract-first-order', u'contract-first-order-passes?', - u'contract-late-neg-projection', u'contract-name', u'contract-proc', - u'contract-projection', u'contract-property?', - u'contract-random-generate', u'contract-random-generate-fail', - u'contract-random-generate-fail?', - u'contract-random-generate-get-current-environment', - u'contract-random-generate-stash', u'contract-random-generate/choose', - u'contract-stronger?', u'contract-struct-exercise', - u'contract-struct-generate', u'contract-struct-late-neg-projection', - u'contract-struct-list-contract?', u'contract-val-first-projection', - u'contract?', u'convert-stream', u'copy-directory/files', u'copy-file', - u'copy-port', u'cos', u'cosh', u'count', u'current-blame-format', - u'current-break-parameterization', u'current-code-inspector', - u'current-command-line-arguments', u'current-compile', - u'current-compiled-file-roots', u'current-continuation-marks', - u'current-contract-region', u'current-custodian', u'current-directory', - u'current-directory-for-user', u'current-drive', - u'current-environment-variables', u'current-error-port', u'current-eval', - u'current-evt-pseudo-random-generator', - u'current-force-delete-permissions', u'current-future', - u'current-gc-milliseconds', u'current-get-interaction-input-port', - u'current-inexact-milliseconds', u'current-input-port', - u'current-inspector', u'current-library-collection-links', - u'current-library-collection-paths', u'current-load', - u'current-load-extension', u'current-load-relative-directory', - u'current-load/use-compiled', u'current-locale', u'current-logger', - u'current-memory-use', u'current-milliseconds', - u'current-module-declare-name', u'current-module-declare-source', - u'current-module-name-resolver', u'current-module-path-for-load', - u'current-namespace', u'current-output-port', u'current-parameterization', - u'current-plumber', u'current-preserved-thread-cell-values', - u'current-print', u'current-process-milliseconds', u'current-prompt-read', - u'current-pseudo-random-generator', u'current-read-interaction', - u'current-reader-guard', u'current-readtable', u'current-seconds', - u'current-security-guard', u'current-subprocess-custodian-mode', - u'current-thread', u'current-thread-group', - u'current-thread-initial-stack-size', - u'current-write-relative-directory', u'curry', u'curryr', - u'custodian-box-value', u'custodian-box?', u'custodian-limit-memory', - u'custodian-managed-list', u'custodian-memory-accounting-available?', - u'custodian-require-memory', u'custodian-shutdown-all', u'custodian?', - u'custom-print-quotable-accessor', u'custom-print-quotable?', - u'custom-write-accessor', u'custom-write-property-proc', u'custom-write?', - u'date', u'date*', u'date*-nanosecond', u'date*-time-zone-name', u'date*?', - u'date-day', u'date-dst?', u'date-hour', u'date-minute', u'date-month', - u'date-second', u'date-time-zone-offset', u'date-week-day', u'date-year', - u'date-year-day', u'date?', u'datum->syntax', u'datum-intern-literal', - u'default-continuation-prompt-tag', u'degrees->radians', - u'delete-directory', u'delete-directory/files', u'delete-file', - u'denominator', u'dict->list', u'dict-can-functional-set?', - u'dict-can-remove-keys?', u'dict-clear', u'dict-clear!', u'dict-copy', - u'dict-count', u'dict-empty?', u'dict-for-each', u'dict-has-key?', - u'dict-implements/c', u'dict-implements?', u'dict-iter-contract', - u'dict-iterate-first', u'dict-iterate-key', u'dict-iterate-next', - u'dict-iterate-value', u'dict-key-contract', u'dict-keys', u'dict-map', - u'dict-mutable?', u'dict-ref', u'dict-ref!', u'dict-remove', - u'dict-remove!', u'dict-set', u'dict-set!', u'dict-set*', u'dict-set*!', - u'dict-update', u'dict-update!', u'dict-value-contract', u'dict-values', - u'dict?', u'directory-exists?', u'directory-list', u'disjoin', u'display', - u'display-lines', u'display-lines-to-file', u'display-to-file', - u'displayln', u'double-flonum?', u'drop', u'drop-common-prefix', - u'drop-right', u'dropf', u'dropf-right', u'dump-memory-stats', - u'dup-input-port', u'dup-output-port', u'dynamic->*', u'dynamic-get-field', - u'dynamic-object/c', u'dynamic-place', u'dynamic-place*', - u'dynamic-require', u'dynamic-require-for-syntax', u'dynamic-send', - u'dynamic-set-field!', u'dynamic-wind', u'eighth', u'empty', - u'empty-sequence', u'empty-stream', u'empty?', - u'environment-variables-copy', u'environment-variables-names', - u'environment-variables-ref', u'environment-variables-set!', - u'environment-variables?', u'eof', u'eof-evt', u'eof-object?', - u'ephemeron-value', u'ephemeron?', u'eprintf', u'eq-contract-val', - u'eq-contract?', u'eq-hash-code', u'eq?', u'equal-contract-val', - u'equal-contract?', u'equal-hash-code', u'equal-secondary-hash-code', - u'equal<%>', u'equal?', u'equal?/recur', u'eqv-hash-code', u'eqv?', u'error', - u'error-display-handler', u'error-escape-handler', - u'error-print-context-length', u'error-print-source-location', - u'error-print-width', u'error-value->string-handler', u'eval', - u'eval-jit-enabled', u'eval-syntax', u'even?', u'evt/c', u'evt?', - u'exact->inexact', u'exact-ceiling', u'exact-floor', u'exact-integer?', - u'exact-nonnegative-integer?', u'exact-positive-integer?', u'exact-round', - u'exact-truncate', u'exact?', u'executable-yield-handler', u'exit', - u'exit-handler', u'exn', u'exn-continuation-marks', u'exn-message', - u'exn:break', u'exn:break-continuation', u'exn:break:hang-up', - u'exn:break:hang-up?', u'exn:break:terminate', u'exn:break:terminate?', - u'exn:break?', u'exn:fail', u'exn:fail:contract', - u'exn:fail:contract:arity', u'exn:fail:contract:arity?', - u'exn:fail:contract:blame', u'exn:fail:contract:blame-object', - u'exn:fail:contract:blame?', u'exn:fail:contract:continuation', - u'exn:fail:contract:continuation?', u'exn:fail:contract:divide-by-zero', - u'exn:fail:contract:divide-by-zero?', - u'exn:fail:contract:non-fixnum-result', - u'exn:fail:contract:non-fixnum-result?', u'exn:fail:contract:variable', - u'exn:fail:contract:variable-id', u'exn:fail:contract:variable?', - u'exn:fail:contract?', u'exn:fail:filesystem', - u'exn:fail:filesystem:errno', u'exn:fail:filesystem:errno-errno', - u'exn:fail:filesystem:errno?', u'exn:fail:filesystem:exists', - u'exn:fail:filesystem:exists?', u'exn:fail:filesystem:missing-module', - u'exn:fail:filesystem:missing-module-path', - u'exn:fail:filesystem:missing-module?', u'exn:fail:filesystem:version', - u'exn:fail:filesystem:version?', u'exn:fail:filesystem?', - u'exn:fail:network', u'exn:fail:network:errno', - u'exn:fail:network:errno-errno', u'exn:fail:network:errno?', - u'exn:fail:network?', u'exn:fail:object', u'exn:fail:object?', - u'exn:fail:out-of-memory', u'exn:fail:out-of-memory?', u'exn:fail:read', - u'exn:fail:read-srclocs', u'exn:fail:read:eof', u'exn:fail:read:eof?', - u'exn:fail:read:non-char', u'exn:fail:read:non-char?', u'exn:fail:read?', - u'exn:fail:syntax', u'exn:fail:syntax-exprs', - u'exn:fail:syntax:missing-module', - u'exn:fail:syntax:missing-module-path', - u'exn:fail:syntax:missing-module?', u'exn:fail:syntax:unbound', - u'exn:fail:syntax:unbound?', u'exn:fail:syntax?', u'exn:fail:unsupported', - u'exn:fail:unsupported?', u'exn:fail:user', u'exn:fail:user?', - u'exn:fail?', u'exn:misc:match?', u'exn:missing-module-accessor', - u'exn:missing-module?', u'exn:srclocs-accessor', u'exn:srclocs?', u'exn?', - u'exp', u'expand', u'expand-once', u'expand-syntax', u'expand-syntax-once', - u'expand-syntax-to-top-form', u'expand-to-top-form', u'expand-user-path', - u'explode-path', u'expt', u'externalizable<%>', u'failure-result/c', - u'false?', u'field-names', u'fifth', u'file->bytes', u'file->bytes-lines', - u'file->lines', u'file->list', u'file->string', u'file->value', - u'file-exists?', u'file-name-from-path', u'file-or-directory-identity', - u'file-or-directory-modify-seconds', u'file-or-directory-permissions', - u'file-position', u'file-position*', u'file-size', - u'file-stream-buffer-mode', u'file-stream-port?', u'file-truncate', - u'filename-extension', u'filesystem-change-evt', - u'filesystem-change-evt-cancel', u'filesystem-change-evt?', - u'filesystem-root-list', u'filter', u'filter-map', u'filter-not', - u'filter-read-input-port', u'find-executable-path', u'find-files', - u'find-library-collection-links', u'find-library-collection-paths', - u'find-relative-path', u'find-system-path', u'findf', u'first', - u'first-or/c', u'fixnum?', u'flat-contract', u'flat-contract-predicate', - u'flat-contract-property?', u'flat-contract?', u'flat-named-contract', - u'flatten', u'floating-point-bytes->real', u'flonum?', u'floor', - u'flush-output', u'fold-files', u'foldl', u'foldr', u'for-each', u'force', - u'format', u'fourth', u'fprintf', u'free-identifier=?', - u'free-label-identifier=?', u'free-template-identifier=?', - u'free-transformer-identifier=?', u'fsemaphore-count', u'fsemaphore-post', - u'fsemaphore-try-wait?', u'fsemaphore-wait', u'fsemaphore?', u'future', - u'future?', u'futures-enabled?', u'gcd', u'generate-member-key', - u'generate-temporaries', u'generic-set?', u'generic?', u'gensym', - u'get-output-bytes', u'get-output-string', u'get-preference', - u'get/build-late-neg-projection', u'get/build-val-first-projection', - u'getenv', u'global-port-print-handler', u'group-by', u'group-execute-bit', - u'group-read-bit', u'group-write-bit', u'guard-evt', u'handle-evt', - u'handle-evt?', u'has-blame?', u'has-contract?', u'hash', u'hash->list', - u'hash-clear', u'hash-clear!', u'hash-copy', u'hash-copy-clear', - u'hash-count', u'hash-empty?', u'hash-eq?', u'hash-equal?', u'hash-eqv?', - u'hash-for-each', u'hash-has-key?', u'hash-iterate-first', - u'hash-iterate-key', u'hash-iterate-key+value', u'hash-iterate-next', - u'hash-iterate-pair', u'hash-iterate-value', u'hash-keys', u'hash-map', - u'hash-placeholder?', u'hash-ref', u'hash-ref!', u'hash-remove', - u'hash-remove!', u'hash-set', u'hash-set!', u'hash-set*', u'hash-set*!', - u'hash-update', u'hash-update!', u'hash-values', u'hash-weak?', u'hash/c', - u'hash?', u'hasheq', u'hasheqv', u'identifier-binding', - u'identifier-binding-symbol', u'identifier-label-binding', - u'identifier-prune-lexical-context', - u'identifier-prune-to-source-module', - u'identifier-remove-from-definition-context', - u'identifier-template-binding', u'identifier-transformer-binding', - u'identifier?', u'identity', u'if/c', u'imag-part', u'immutable?', - u'impersonate-box', u'impersonate-channel', - u'impersonate-continuation-mark-key', u'impersonate-hash', - u'impersonate-hash-set', u'impersonate-procedure', - u'impersonate-procedure*', u'impersonate-prompt-tag', - u'impersonate-struct', u'impersonate-vector', u'impersonator-contract?', - u'impersonator-ephemeron', u'impersonator-of?', - u'impersonator-prop:application-mark', u'impersonator-prop:blame', - u'impersonator-prop:contracted', - u'impersonator-property-accessor-procedure?', u'impersonator-property?', - u'impersonator?', u'implementation?', u'implementation?/c', u'in-bytes', - u'in-bytes-lines', u'in-combinations', u'in-cycle', u'in-dict', - u'in-dict-keys', u'in-dict-pairs', u'in-dict-values', u'in-directory', - u'in-hash', u'in-hash-keys', u'in-hash-pairs', u'in-hash-values', - u'in-immutable-hash', u'in-immutable-hash-keys', - u'in-immutable-hash-pairs', u'in-immutable-hash-values', - u'in-immutable-set', u'in-indexed', u'in-input-port-bytes', - u'in-input-port-chars', u'in-lines', u'in-list', u'in-mlist', - u'in-mutable-hash', u'in-mutable-hash-keys', u'in-mutable-hash-pairs', - u'in-mutable-hash-values', u'in-mutable-set', u'in-naturals', - u'in-parallel', u'in-permutations', u'in-port', u'in-producer', u'in-range', - u'in-sequences', u'in-set', u'in-slice', u'in-stream', u'in-string', - u'in-syntax', u'in-value', u'in-values*-sequence', u'in-values-sequence', - u'in-vector', u'in-weak-hash', u'in-weak-hash-keys', u'in-weak-hash-pairs', - u'in-weak-hash-values', u'in-weak-set', u'inexact->exact', - u'inexact-real?', u'inexact?', u'infinite?', u'input-port-append', - u'input-port?', u'inspector?', u'instanceof/c', u'integer->char', - u'integer->integer-bytes', u'integer-bytes->integer', u'integer-in', - u'integer-length', u'integer-sqrt', u'integer-sqrt/remainder', u'integer?', - u'interface->method-names', u'interface-extension?', u'interface?', - u'internal-definition-context-binding-identifiers', - u'internal-definition-context-introduce', - u'internal-definition-context-seal', u'internal-definition-context?', - u'is-a?', u'is-a?/c', u'keyword->string', u'keyword-apply', u'keyword<?', - u'keyword?', u'keywords-match', u'kill-thread', u'last', u'last-pair', - u'lcm', u'length', u'liberal-define-context?', u'link-exists?', u'list', - u'list*', u'list*of', u'list->bytes', u'list->mutable-set', - u'list->mutable-seteq', u'list->mutable-seteqv', u'list->set', - u'list->seteq', u'list->seteqv', u'list->string', u'list->vector', - u'list->weak-set', u'list->weak-seteq', u'list->weak-seteqv', - u'list-contract?', u'list-prefix?', u'list-ref', u'list-set', u'list-tail', - u'list-update', u'list/c', u'list?', u'listen-port-number?', u'listof', - u'load', u'load-extension', u'load-on-demand-enabled', u'load-relative', - u'load-relative-extension', u'load/cd', u'load/use-compiled', - u'local-expand', u'local-expand/capture-lifts', - u'local-transformer-expand', u'local-transformer-expand/capture-lifts', - u'locale-string-encoding', u'log', u'log-all-levels', u'log-level-evt', - u'log-level?', u'log-max-level', u'log-message', u'log-receiver?', - u'logger-name', u'logger?', u'magnitude', u'make-arity-at-least', - u'make-base-empty-namespace', u'make-base-namespace', u'make-bytes', - u'make-channel', u'make-chaperone-contract', - u'make-continuation-mark-key', u'make-continuation-prompt-tag', - u'make-contract', u'make-custodian', u'make-custodian-box', - u'make-custom-hash', u'make-custom-hash-types', u'make-custom-set', - u'make-custom-set-types', u'make-date', u'make-date*', - u'make-derived-parameter', u'make-directory', u'make-directory*', - u'make-do-sequence', u'make-empty-namespace', - u'make-environment-variables', u'make-ephemeron', u'make-exn', - u'make-exn:break', u'make-exn:break:hang-up', u'make-exn:break:terminate', - u'make-exn:fail', u'make-exn:fail:contract', - u'make-exn:fail:contract:arity', u'make-exn:fail:contract:blame', - u'make-exn:fail:contract:continuation', - u'make-exn:fail:contract:divide-by-zero', - u'make-exn:fail:contract:non-fixnum-result', - u'make-exn:fail:contract:variable', u'make-exn:fail:filesystem', - u'make-exn:fail:filesystem:errno', u'make-exn:fail:filesystem:exists', - u'make-exn:fail:filesystem:missing-module', - u'make-exn:fail:filesystem:version', u'make-exn:fail:network', - u'make-exn:fail:network:errno', u'make-exn:fail:object', - u'make-exn:fail:out-of-memory', u'make-exn:fail:read', - u'make-exn:fail:read:eof', u'make-exn:fail:read:non-char', - u'make-exn:fail:syntax', u'make-exn:fail:syntax:missing-module', - u'make-exn:fail:syntax:unbound', u'make-exn:fail:unsupported', - u'make-exn:fail:user', u'make-file-or-directory-link', - u'make-flat-contract', u'make-fsemaphore', u'make-generic', - u'make-handle-get-preference-locked', u'make-hash', - u'make-hash-placeholder', u'make-hasheq', u'make-hasheq-placeholder', - u'make-hasheqv', u'make-hasheqv-placeholder', - u'make-immutable-custom-hash', u'make-immutable-hash', - u'make-immutable-hasheq', u'make-immutable-hasheqv', - u'make-impersonator-property', u'make-input-port', - u'make-input-port/read-to-peek', u'make-inspector', - u'make-keyword-procedure', u'make-known-char-range-list', - u'make-limited-input-port', u'make-list', u'make-lock-file-name', - u'make-log-receiver', u'make-logger', u'make-mixin-contract', - u'make-mutable-custom-set', u'make-none/c', u'make-object', - u'make-output-port', u'make-parameter', u'make-parent-directory*', - u'make-phantom-bytes', u'make-pipe', u'make-pipe-with-specials', - u'make-placeholder', u'make-plumber', u'make-polar', u'make-prefab-struct', - u'make-primitive-class', u'make-proj-contract', - u'make-pseudo-random-generator', u'make-reader-graph', u'make-readtable', - u'make-rectangular', u'make-rename-transformer', - u'make-resolved-module-path', u'make-security-guard', u'make-semaphore', - u'make-set!-transformer', u'make-shared-bytes', u'make-sibling-inspector', - u'make-special-comment', u'make-srcloc', u'make-string', - u'make-struct-field-accessor', u'make-struct-field-mutator', - u'make-struct-type', u'make-struct-type-property', - u'make-syntax-delta-introducer', u'make-syntax-introducer', - u'make-temporary-file', u'make-tentative-pretty-print-output-port', - u'make-thread-cell', u'make-thread-group', u'make-vector', - u'make-weak-box', u'make-weak-custom-hash', u'make-weak-custom-set', - u'make-weak-hash', u'make-weak-hasheq', u'make-weak-hasheqv', - u'make-will-executor', u'map', u'match-equality-test', - u'matches-arity-exactly?', u'max', u'mcar', u'mcdr', u'mcons', u'member', - u'member-name-key-hash-code', u'member-name-key=?', u'member-name-key?', - u'memf', u'memq', u'memv', u'merge-input', u'method-in-interface?', u'min', - u'mixin-contract', u'module->exports', u'module->imports', - u'module->language-info', u'module->namespace', - u'module-compiled-cross-phase-persistent?', u'module-compiled-exports', - u'module-compiled-imports', u'module-compiled-language-info', - u'module-compiled-name', u'module-compiled-submodules', - u'module-declared?', u'module-path-index-join', - u'module-path-index-resolve', u'module-path-index-split', - u'module-path-index-submodule', u'module-path-index?', u'module-path?', - u'module-predefined?', u'module-provide-protected?', u'modulo', u'mpair?', - u'mutable-set', u'mutable-seteq', u'mutable-seteqv', u'n->th', - u'nack-guard-evt', u'namespace-anchor->empty-namespace', - u'namespace-anchor->namespace', u'namespace-anchor?', - u'namespace-attach-module', u'namespace-attach-module-declaration', - u'namespace-base-phase', u'namespace-mapped-symbols', - u'namespace-module-identifier', u'namespace-module-registry', - u'namespace-require', u'namespace-require/constant', - u'namespace-require/copy', u'namespace-require/expansion-time', - u'namespace-set-variable-value!', u'namespace-symbol->identifier', - u'namespace-syntax-introduce', u'namespace-undefine-variable!', - u'namespace-unprotect-module', u'namespace-variable-value', u'namespace?', - u'nan?', u'natural-number/c', u'negate', u'negative?', u'never-evt', - u'new-∀/c', u'new-∃/c', u'newline', u'ninth', u'non-empty-listof', - u'non-empty-string?', u'none/c', u'normal-case-path', u'normalize-arity', - u'normalize-path', u'normalized-arity?', u'not', u'not/c', u'null', u'null?', - u'number->string', u'number?', u'numerator', u'object%', u'object->vector', - u'object-info', u'object-interface', u'object-method-arity-includes?', - u'object-name', u'object-or-false=?', u'object=?', u'object?', u'odd?', - u'one-of/c', u'open-input-bytes', u'open-input-file', - u'open-input-output-file', u'open-input-string', u'open-output-bytes', - u'open-output-file', u'open-output-nowhere', u'open-output-string', - u'or/c', u'order-of-magnitude', u'ormap', u'other-execute-bit', - u'other-read-bit', u'other-write-bit', u'output-port?', u'pair?', - u'parameter-procedure=?', u'parameter/c', u'parameter?', - u'parameterization?', u'parse-command-line', u'partition', u'path->bytes', - u'path->complete-path', u'path->directory-path', u'path->string', - u'path-add-suffix', u'path-convention-type', u'path-element->bytes', - u'path-element->string', u'path-element?', u'path-for-some-system?', - u'path-list-string->path-list', u'path-only', u'path-replace-suffix', - u'path-string?', u'path<?', u'path?', u'pathlist-closure', u'peek-byte', - u'peek-byte-or-special', u'peek-bytes', u'peek-bytes!', u'peek-bytes!-evt', - u'peek-bytes-avail!', u'peek-bytes-avail!*', u'peek-bytes-avail!-evt', - u'peek-bytes-avail!/enable-break', u'peek-bytes-evt', u'peek-char', - u'peek-char-or-special', u'peek-string', u'peek-string!', - u'peek-string!-evt', u'peek-string-evt', u'peeking-input-port', - u'permutations', u'phantom-bytes?', u'pi', u'pi.f', u'pipe-content-length', - u'place-break', u'place-channel', u'place-channel-get', - u'place-channel-put', u'place-channel-put/get', u'place-channel?', - u'place-dead-evt', u'place-enabled?', u'place-kill', u'place-location?', - u'place-message-allowed?', u'place-sleep', u'place-wait', u'place?', - u'placeholder-get', u'placeholder-set!', u'placeholder?', - u'plumber-add-flush!', u'plumber-flush-all', - u'plumber-flush-handle-remove!', u'plumber-flush-handle?', u'plumber?', - u'poll-guard-evt', u'port->bytes', u'port->bytes-lines', u'port->lines', - u'port->list', u'port->string', u'port-closed-evt', u'port-closed?', - u'port-commit-peeked', u'port-count-lines!', u'port-count-lines-enabled', - u'port-counts-lines?', u'port-display-handler', u'port-file-identity', - u'port-file-unlock', u'port-next-location', u'port-number?', - u'port-print-handler', u'port-progress-evt', - u'port-provides-progress-evts?', u'port-read-handler', - u'port-try-file-lock?', u'port-write-handler', u'port-writes-atomic?', - u'port-writes-special?', u'port?', u'positive?', u'predicate/c', - u'prefab-key->struct-type', u'prefab-key?', u'prefab-struct-key', - u'preferences-lock-file-mode', u'pregexp', u'pregexp?', u'pretty-display', - u'pretty-format', u'pretty-print', u'pretty-print-.-symbol-without-bars', - u'pretty-print-abbreviate-read-macros', u'pretty-print-columns', - u'pretty-print-current-style-table', u'pretty-print-depth', - u'pretty-print-exact-as-decimal', u'pretty-print-extend-style-table', - u'pretty-print-handler', u'pretty-print-newline', - u'pretty-print-post-print-hook', u'pretty-print-pre-print-hook', - u'pretty-print-print-hook', u'pretty-print-print-line', - u'pretty-print-remap-stylable', u'pretty-print-show-inexactness', - u'pretty-print-size-hook', u'pretty-print-style-table?', - u'pretty-printing', u'pretty-write', u'primitive-closure?', - u'primitive-result-arity', u'primitive?', u'print', u'print-as-expression', - u'print-boolean-long-form', u'print-box', u'print-graph', - u'print-hash-table', u'print-mpair-curly-braces', - u'print-pair-curly-braces', u'print-reader-abbreviations', - u'print-struct', u'print-syntax-width', u'print-unreadable', - u'print-vector-length', u'printable/c', u'printable<%>', u'printf', - u'println', u'procedure->method', u'procedure-arity', - u'procedure-arity-includes/c', u'procedure-arity-includes?', - u'procedure-arity?', u'procedure-closure-contents-eq?', - u'procedure-extract-target', u'procedure-keywords', - u'procedure-reduce-arity', u'procedure-reduce-keyword-arity', - u'procedure-rename', u'procedure-result-arity', u'procedure-specialize', - u'procedure-struct-type?', u'procedure?', u'process', u'process*', - u'process*/ports', u'process/ports', u'processor-count', u'progress-evt?', - u'promise-forced?', u'promise-running?', u'promise/c', u'promise/name?', - u'promise?', u'prop:arity-string', u'prop:arrow-contract', - u'prop:arrow-contract-get-info', u'prop:arrow-contract?', u'prop:blame', - u'prop:chaperone-contract', u'prop:checked-procedure', u'prop:contract', - u'prop:contracted', u'prop:custom-print-quotable', u'prop:custom-write', - u'prop:dict', u'prop:dict/contract', u'prop:equal+hash', u'prop:evt', - u'prop:exn:missing-module', u'prop:exn:srclocs', - u'prop:expansion-contexts', u'prop:flat-contract', - u'prop:impersonator-of', u'prop:input-port', - u'prop:liberal-define-context', u'prop:object-name', - u'prop:opt-chaperone-contract', u'prop:opt-chaperone-contract-get-test', - u'prop:opt-chaperone-contract?', u'prop:orc-contract', - u'prop:orc-contract-get-subcontracts', u'prop:orc-contract?', - u'prop:output-port', u'prop:place-location', u'prop:procedure', - u'prop:recursive-contract', u'prop:recursive-contract-unroll', - u'prop:recursive-contract?', u'prop:rename-transformer', u'prop:sequence', - u'prop:set!-transformer', u'prop:stream', u'proper-subset?', - u'pseudo-random-generator->vector', u'pseudo-random-generator-vector?', - u'pseudo-random-generator?', u'put-preferences', u'putenv', u'quotient', - u'quotient/remainder', u'radians->degrees', u'raise', - u'raise-argument-error', u'raise-arguments-error', u'raise-arity-error', - u'raise-blame-error', u'raise-contract-error', u'raise-mismatch-error', - u'raise-not-cons-blame-error', u'raise-range-error', - u'raise-result-error', u'raise-syntax-error', u'raise-type-error', - u'raise-user-error', u'random', u'random-seed', u'range', u'rational?', - u'rationalize', u'read', u'read-accept-bar-quote', u'read-accept-box', - u'read-accept-compiled', u'read-accept-dot', u'read-accept-graph', - u'read-accept-infix-dot', u'read-accept-lang', u'read-accept-quasiquote', - u'read-accept-reader', u'read-byte', u'read-byte-or-special', - u'read-bytes', u'read-bytes!', u'read-bytes!-evt', u'read-bytes-avail!', - u'read-bytes-avail!*', u'read-bytes-avail!-evt', - u'read-bytes-avail!/enable-break', u'read-bytes-evt', u'read-bytes-line', - u'read-bytes-line-evt', u'read-case-sensitive', u'read-cdot', u'read-char', - u'read-char-or-special', u'read-curly-brace-as-paren', - u'read-curly-brace-with-tag', u'read-decimal-as-inexact', - u'read-eval-print-loop', u'read-language', u'read-line', u'read-line-evt', - u'read-on-demand-source', u'read-square-bracket-as-paren', - u'read-square-bracket-with-tag', u'read-string', u'read-string!', - u'read-string!-evt', u'read-string-evt', u'read-syntax', - u'read-syntax/recursive', u'read/recursive', u'readtable-mapping', - u'readtable?', u'real->decimal-string', u'real->double-flonum', - u'real->floating-point-bytes', u'real->single-flonum', u'real-in', - u'real-part', u'real?', u'reencode-input-port', u'reencode-output-port', - u'regexp', u'regexp-match', u'regexp-match*', u'regexp-match-evt', - u'regexp-match-exact?', u'regexp-match-peek', - u'regexp-match-peek-immediate', u'regexp-match-peek-positions', - u'regexp-match-peek-positions*', - u'regexp-match-peek-positions-immediate', - u'regexp-match-peek-positions-immediate/end', - u'regexp-match-peek-positions/end', u'regexp-match-positions', - u'regexp-match-positions*', u'regexp-match-positions/end', - u'regexp-match/end', u'regexp-match?', u'regexp-max-lookbehind', - u'regexp-quote', u'regexp-replace', u'regexp-replace*', - u'regexp-replace-quote', u'regexp-replaces', u'regexp-split', - u'regexp-try-match', u'regexp?', u'relative-path?', u'relocate-input-port', - u'relocate-output-port', u'remainder', u'remf', u'remf*', u'remove', - u'remove*', u'remove-duplicates', u'remq', u'remq*', u'remv', u'remv*', - u'rename-contract', u'rename-file-or-directory', - u'rename-transformer-target', u'rename-transformer?', u'replace-evt', - u'reroot-path', u'resolve-path', u'resolved-module-path-name', - u'resolved-module-path?', u'rest', u'reverse', u'round', u'second', - u'seconds->date', u'security-guard?', u'semaphore-peek-evt', - u'semaphore-peek-evt?', u'semaphore-post', u'semaphore-try-wait?', - u'semaphore-wait', u'semaphore-wait/enable-break', u'semaphore?', - u'sequence->list', u'sequence->stream', u'sequence-add-between', - u'sequence-andmap', u'sequence-append', u'sequence-count', - u'sequence-filter', u'sequence-fold', u'sequence-for-each', - u'sequence-generate', u'sequence-generate*', u'sequence-length', - u'sequence-map', u'sequence-ormap', u'sequence-ref', u'sequence-tail', - u'sequence/c', u'sequence?', u'set', u'set!-transformer-procedure', - u'set!-transformer?', u'set->list', u'set->stream', u'set-add', u'set-add!', - u'set-box!', u'set-clear', u'set-clear!', u'set-copy', u'set-copy-clear', - u'set-count', u'set-empty?', u'set-eq?', u'set-equal?', u'set-eqv?', - u'set-first', u'set-for-each', u'set-implements/c', u'set-implements?', - u'set-intersect', u'set-intersect!', u'set-map', u'set-mcar!', u'set-mcdr!', - u'set-member?', u'set-mutable?', u'set-phantom-bytes!', - u'set-port-next-location!', u'set-remove', u'set-remove!', u'set-rest', - u'set-some-basic-contracts!', u'set-subtract', u'set-subtract!', - u'set-symmetric-difference', u'set-symmetric-difference!', u'set-union', - u'set-union!', u'set-weak?', u'set/c', u'set=?', u'set?', u'seteq', u'seteqv', - u'seventh', u'sgn', u'shared-bytes', u'shell-execute', u'shrink-path-wrt', - u'shuffle', u'simple-form-path', u'simplify-path', u'sin', - u'single-flonum?', u'sinh', u'sixth', u'skip-projection-wrapper?', u'sleep', - u'some-system-path->string', u'sort', u'special-comment-value', - u'special-comment?', u'special-filter-input-port', u'split-at', - u'split-at-right', u'split-common-prefix', u'split-path', u'splitf-at', - u'splitf-at-right', u'sqr', u'sqrt', u'srcloc', u'srcloc->string', - u'srcloc-column', u'srcloc-line', u'srcloc-position', u'srcloc-source', - u'srcloc-span', u'srcloc?', u'stop-after', u'stop-before', u'stream->list', - u'stream-add-between', u'stream-andmap', u'stream-append', u'stream-count', - u'stream-empty?', u'stream-filter', u'stream-first', u'stream-fold', - u'stream-for-each', u'stream-length', u'stream-map', u'stream-ormap', - u'stream-ref', u'stream-rest', u'stream-tail', u'stream/c', u'stream?', - u'string', u'string->bytes/latin-1', u'string->bytes/locale', - u'string->bytes/utf-8', u'string->immutable-string', u'string->keyword', - u'string->list', u'string->number', u'string->path', - u'string->path-element', u'string->some-system-path', u'string->symbol', - u'string->uninterned-symbol', u'string->unreadable-symbol', - u'string-append', u'string-append*', u'string-ci<=?', u'string-ci<?', - u'string-ci=?', u'string-ci>=?', u'string-ci>?', u'string-contains?', - u'string-copy', u'string-copy!', u'string-downcase', - u'string-environment-variable-name?', u'string-fill!', u'string-foldcase', - u'string-join', u'string-len/c', u'string-length', u'string-locale-ci<?', - u'string-locale-ci=?', u'string-locale-ci>?', u'string-locale-downcase', - u'string-locale-upcase', u'string-locale<?', u'string-locale=?', - u'string-locale>?', u'string-no-nuls?', u'string-normalize-nfc', - u'string-normalize-nfd', u'string-normalize-nfkc', - u'string-normalize-nfkd', u'string-normalize-spaces', u'string-port?', - u'string-prefix?', u'string-ref', u'string-replace', u'string-set!', - u'string-split', u'string-suffix?', u'string-titlecase', u'string-trim', - u'string-upcase', u'string-utf-8-length', u'string<=?', u'string<?', - u'string=?', u'string>=?', u'string>?', u'string?', u'struct->vector', - u'struct-accessor-procedure?', u'struct-constructor-procedure?', - u'struct-info', u'struct-mutator-procedure?', - u'struct-predicate-procedure?', u'struct-type-info', - u'struct-type-make-constructor', u'struct-type-make-predicate', - u'struct-type-property-accessor-procedure?', u'struct-type-property/c', - u'struct-type-property?', u'struct-type?', u'struct:arity-at-least', - u'struct:arrow-contract-info', u'struct:date', u'struct:date*', - u'struct:exn', u'struct:exn:break', u'struct:exn:break:hang-up', - u'struct:exn:break:terminate', u'struct:exn:fail', - u'struct:exn:fail:contract', u'struct:exn:fail:contract:arity', - u'struct:exn:fail:contract:blame', - u'struct:exn:fail:contract:continuation', - u'struct:exn:fail:contract:divide-by-zero', - u'struct:exn:fail:contract:non-fixnum-result', - u'struct:exn:fail:contract:variable', u'struct:exn:fail:filesystem', - u'struct:exn:fail:filesystem:errno', - u'struct:exn:fail:filesystem:exists', - u'struct:exn:fail:filesystem:missing-module', - u'struct:exn:fail:filesystem:version', u'struct:exn:fail:network', - u'struct:exn:fail:network:errno', u'struct:exn:fail:object', - u'struct:exn:fail:out-of-memory', u'struct:exn:fail:read', - u'struct:exn:fail:read:eof', u'struct:exn:fail:read:non-char', - u'struct:exn:fail:syntax', u'struct:exn:fail:syntax:missing-module', - u'struct:exn:fail:syntax:unbound', u'struct:exn:fail:unsupported', - u'struct:exn:fail:user', u'struct:srcloc', - u'struct:wrapped-extra-arg-arrow', u'struct?', u'sub1', u'subbytes', - u'subclass?', u'subclass?/c', u'subprocess', u'subprocess-group-enabled', - u'subprocess-kill', u'subprocess-pid', u'subprocess-status', - u'subprocess-wait', u'subprocess?', u'subset?', u'substring', u'suggest/c', - u'symbol->string', u'symbol-interned?', u'symbol-unreadable?', u'symbol<?', - u'symbol=?', u'symbol?', u'symbols', u'sync', u'sync/enable-break', - u'sync/timeout', u'sync/timeout/enable-break', u'syntax->datum', - u'syntax->list', u'syntax-arm', u'syntax-column', u'syntax-debug-info', - u'syntax-disarm', u'syntax-e', u'syntax-line', - u'syntax-local-bind-syntaxes', u'syntax-local-certifier', - u'syntax-local-context', u'syntax-local-expand-expression', - u'syntax-local-get-shadower', u'syntax-local-identifier-as-binding', - u'syntax-local-introduce', u'syntax-local-lift-context', - u'syntax-local-lift-expression', u'syntax-local-lift-module', - u'syntax-local-lift-module-end-declaration', - u'syntax-local-lift-provide', u'syntax-local-lift-require', - u'syntax-local-lift-values-expression', - u'syntax-local-make-definition-context', - u'syntax-local-make-delta-introducer', - u'syntax-local-module-defined-identifiers', - u'syntax-local-module-exports', - u'syntax-local-module-required-identifiers', u'syntax-local-name', - u'syntax-local-phase-level', u'syntax-local-submodules', - u'syntax-local-transforming-module-provides?', u'syntax-local-value', - u'syntax-local-value/immediate', u'syntax-original?', u'syntax-position', - u'syntax-property', u'syntax-property-preserved?', - u'syntax-property-symbol-keys', u'syntax-protect', u'syntax-rearm', - u'syntax-recertify', u'syntax-shift-phase-level', u'syntax-source', - u'syntax-source-module', u'syntax-span', u'syntax-taint', - u'syntax-tainted?', u'syntax-track-origin', - u'syntax-transforming-module-expression?', - u'syntax-transforming-with-lifts?', u'syntax-transforming?', u'syntax/c', - u'syntax?', u'system', u'system*', u'system*/exit-code', - u'system-big-endian?', u'system-idle-evt', u'system-language+country', - u'system-library-subpath', u'system-path-convention-type', u'system-type', - u'system/exit-code', u'tail-marks-match?', u'take', u'take-common-prefix', - u'take-right', u'takef', u'takef-right', u'tan', u'tanh', - u'tcp-abandon-port', u'tcp-accept', u'tcp-accept-evt', - u'tcp-accept-ready?', u'tcp-accept/enable-break', u'tcp-addresses', - u'tcp-close', u'tcp-connect', u'tcp-connect/enable-break', u'tcp-listen', - u'tcp-listener?', u'tcp-port?', u'tentative-pretty-print-port-cancel', - u'tentative-pretty-print-port-transfer', u'tenth', u'terminal-port?', - u'the-unsupplied-arg', u'third', u'thread', u'thread-cell-ref', - u'thread-cell-set!', u'thread-cell-values?', u'thread-cell?', - u'thread-dead-evt', u'thread-dead?', u'thread-group?', u'thread-receive', - u'thread-receive-evt', u'thread-resume', u'thread-resume-evt', - u'thread-rewind-receive', u'thread-running?', u'thread-send', - u'thread-suspend', u'thread-suspend-evt', u'thread-try-receive', - u'thread-wait', u'thread/suspend-to-kill', u'thread?', u'time-apply', - u'touch', u'transplant-input-port', u'transplant-output-port', u'true', - u'truncate', u'udp-addresses', u'udp-bind!', u'udp-bound?', u'udp-close', - u'udp-connect!', u'udp-connected?', u'udp-multicast-interface', - u'udp-multicast-join-group!', u'udp-multicast-leave-group!', - u'udp-multicast-loopback?', u'udp-multicast-set-interface!', - u'udp-multicast-set-loopback!', u'udp-multicast-set-ttl!', - u'udp-multicast-ttl', u'udp-open-socket', u'udp-receive!', - u'udp-receive!*', u'udp-receive!-evt', u'udp-receive!/enable-break', - u'udp-receive-ready-evt', u'udp-send', u'udp-send*', u'udp-send-evt', - u'udp-send-ready-evt', u'udp-send-to', u'udp-send-to*', u'udp-send-to-evt', - u'udp-send-to/enable-break', u'udp-send/enable-break', u'udp?', u'unbox', - u'uncaught-exception-handler', u'unit?', u'unspecified-dom', - u'unsupplied-arg?', u'use-collection-link-paths', - u'use-compiled-file-paths', u'use-user-specific-search-paths', - u'user-execute-bit', u'user-read-bit', u'user-write-bit', u'value-blame', - u'value-contract', u'values', u'variable-reference->empty-namespace', - u'variable-reference->module-base-phase', - u'variable-reference->module-declaration-inspector', - u'variable-reference->module-path-index', - u'variable-reference->module-source', u'variable-reference->namespace', - u'variable-reference->phase', - u'variable-reference->resolved-module-path', - u'variable-reference-constant?', u'variable-reference?', u'vector', - u'vector->immutable-vector', u'vector->list', - u'vector->pseudo-random-generator', u'vector->pseudo-random-generator!', - u'vector->values', u'vector-append', u'vector-argmax', u'vector-argmin', - u'vector-copy', u'vector-copy!', u'vector-count', u'vector-drop', - u'vector-drop-right', u'vector-fill!', u'vector-filter', - u'vector-filter-not', u'vector-immutable', u'vector-immutable/c', - u'vector-immutableof', u'vector-length', u'vector-map', u'vector-map!', - u'vector-member', u'vector-memq', u'vector-memv', u'vector-ref', - u'vector-set!', u'vector-set*!', u'vector-set-performance-stats!', - u'vector-split-at', u'vector-split-at-right', u'vector-take', - u'vector-take-right', u'vector/c', u'vector?', u'vectorof', u'version', - u'void', u'void?', u'weak-box-value', u'weak-box?', u'weak-set', - u'weak-seteq', u'weak-seteqv', u'will-execute', u'will-executor?', - u'will-register', u'will-try-execute', u'with-input-from-bytes', - u'with-input-from-file', u'with-input-from-string', - u'with-output-to-bytes', u'with-output-to-file', u'with-output-to-string', - u'would-be-future', u'wrap-evt', u'wrapped-extra-arg-arrow', - u'wrapped-extra-arg-arrow-extra-neg-party-argument', - u'wrapped-extra-arg-arrow-real-func', u'wrapped-extra-arg-arrow?', - u'writable<%>', u'write', u'write-byte', u'write-bytes', - u'write-bytes-avail', u'write-bytes-avail*', u'write-bytes-avail-evt', - u'write-bytes-avail/enable-break', u'write-char', u'write-special', - u'write-special-avail*', u'write-special-evt', u'write-string', - u'write-to-file', u'writeln', u'xor', u'zero?', u'~.a', u'~.s', u'~.v', u'~a', - u'~e', u'~r', u'~s', u'~v' + '*', '*list/c', '+', '-', '/', '<', '</c', '<=', '<=/c', '=', '=/c', + '>', '>/c', '>=', '>=/c', 'abort-current-continuation', 'abs', + 'absolute-path?', 'acos', 'add-between', 'add1', 'alarm-evt', + 'always-evt', 'and/c', 'andmap', 'angle', 'any/c', 'append', 'append*', + 'append-map', 'apply', 'argmax', 'argmin', 'arithmetic-shift', + 'arity-at-least', 'arity-at-least-value', 'arity-at-least?', + 'arity-checking-wrapper', 'arity-includes?', 'arity=?', + 'arrow-contract-info', 'arrow-contract-info-accepts-arglist', + 'arrow-contract-info-chaperone-procedure', + 'arrow-contract-info-check-first-order', 'arrow-contract-info?', + 'asin', 'assf', 'assoc', 'assq', 'assv', 'atan', + 'bad-number-of-results', 'banner', 'base->-doms/c', 'base->-rngs/c', + 'base->?', 'between/c', 'bitwise-and', 'bitwise-bit-field', + 'bitwise-bit-set?', 'bitwise-ior', 'bitwise-not', 'bitwise-xor', + 'blame-add-car-context', 'blame-add-cdr-context', 'blame-add-context', + 'blame-add-missing-party', 'blame-add-nth-arg-context', + 'blame-add-range-context', 'blame-add-unknown-context', + 'blame-context', 'blame-contract', 'blame-fmt->-string', + 'blame-missing-party?', 'blame-negative', 'blame-original?', + 'blame-positive', 'blame-replace-negative', 'blame-source', + 'blame-swap', 'blame-swapped?', 'blame-update', 'blame-value', + 'blame?', 'boolean=?', 'boolean?', 'bound-identifier=?', 'box', + 'box-cas!', 'box-immutable', 'box-immutable/c', 'box/c', 'box?', + 'break-enabled', 'break-parameterization?', 'break-thread', + 'build-chaperone-contract-property', 'build-compound-type-name', + 'build-contract-property', 'build-flat-contract-property', + 'build-list', 'build-path', 'build-path/convention-type', + 'build-string', 'build-vector', 'byte-pregexp', 'byte-pregexp?', + 'byte-ready?', 'byte-regexp', 'byte-regexp?', 'byte?', 'bytes', + 'bytes->immutable-bytes', 'bytes->list', 'bytes->path', + 'bytes->path-element', 'bytes->string/latin-1', 'bytes->string/locale', + 'bytes->string/utf-8', 'bytes-append', 'bytes-append*', + 'bytes-close-converter', 'bytes-convert', 'bytes-convert-end', + 'bytes-converter?', 'bytes-copy', 'bytes-copy!', + 'bytes-environment-variable-name?', 'bytes-fill!', 'bytes-join', + 'bytes-length', 'bytes-no-nuls?', 'bytes-open-converter', 'bytes-ref', + 'bytes-set!', 'bytes-utf-8-index', 'bytes-utf-8-length', + 'bytes-utf-8-ref', 'bytes<?', 'bytes=?', 'bytes>?', 'bytes?', 'caaaar', + 'caaadr', 'caaar', 'caadar', 'caaddr', 'caadr', 'caar', 'cadaar', + 'cadadr', 'cadar', 'caddar', 'cadddr', 'caddr', 'cadr', + 'call-in-nested-thread', 'call-with-atomic-output-file', + 'call-with-break-parameterization', + 'call-with-composable-continuation', 'call-with-continuation-barrier', + 'call-with-continuation-prompt', 'call-with-current-continuation', + 'call-with-default-reading-parameterization', + 'call-with-escape-continuation', 'call-with-exception-handler', + 'call-with-file-lock/timeout', 'call-with-immediate-continuation-mark', + 'call-with-input-bytes', 'call-with-input-file', + 'call-with-input-file*', 'call-with-input-string', + 'call-with-output-bytes', 'call-with-output-file', + 'call-with-output-file*', 'call-with-output-string', + 'call-with-parameterization', 'call-with-semaphore', + 'call-with-semaphore/enable-break', 'call-with-values', 'call/cc', + 'call/ec', 'car', 'cartesian-product', 'cdaaar', 'cdaadr', 'cdaar', + 'cdadar', 'cdaddr', 'cdadr', 'cdar', 'cddaar', 'cddadr', 'cddar', + 'cdddar', 'cddddr', 'cdddr', 'cddr', 'cdr', 'ceiling', 'channel-get', + 'channel-put', 'channel-put-evt', 'channel-put-evt?', + 'channel-try-get', 'channel/c', 'channel?', 'chaperone-box', + 'chaperone-channel', 'chaperone-continuation-mark-key', + 'chaperone-contract-property?', 'chaperone-contract?', 'chaperone-evt', + 'chaperone-hash', 'chaperone-hash-set', 'chaperone-of?', + 'chaperone-procedure', 'chaperone-procedure*', 'chaperone-prompt-tag', + 'chaperone-struct', 'chaperone-struct-type', 'chaperone-vector', + 'chaperone?', 'char->integer', 'char-alphabetic?', 'char-blank?', + 'char-ci<=?', 'char-ci<?', 'char-ci=?', 'char-ci>=?', 'char-ci>?', + 'char-downcase', 'char-foldcase', 'char-general-category', + 'char-graphic?', 'char-in', 'char-in/c', 'char-iso-control?', + 'char-lower-case?', 'char-numeric?', 'char-punctuation?', + 'char-ready?', 'char-symbolic?', 'char-title-case?', 'char-titlecase', + 'char-upcase', 'char-upper-case?', 'char-utf-8-length', + 'char-whitespace?', 'char<=?', 'char<?', 'char=?', 'char>=?', 'char>?', + 'char?', 'check-duplicate-identifier', 'check-duplicates', + 'checked-procedure-check-and-extract', 'choice-evt', + 'class->interface', 'class-info', 'class-seal', 'class-unseal', + 'class?', 'cleanse-path', 'close-input-port', 'close-output-port', + 'coerce-chaperone-contract', 'coerce-chaperone-contracts', + 'coerce-contract', 'coerce-contract/f', 'coerce-contracts', + 'coerce-flat-contract', 'coerce-flat-contracts', 'collect-garbage', + 'collection-file-path', 'collection-path', 'combinations', 'compile', + 'compile-allow-set!-undefined', 'compile-context-preservation-enabled', + 'compile-enforce-module-constants', 'compile-syntax', + 'compiled-expression-recompile', 'compiled-expression?', + 'compiled-module-expression?', 'complete-path?', 'complex?', 'compose', + 'compose1', 'conjoin', 'conjugate', 'cons', 'cons/c', 'cons?', 'const', + 'continuation-mark-key/c', 'continuation-mark-key?', + 'continuation-mark-set->context', 'continuation-mark-set->list', + 'continuation-mark-set->list*', 'continuation-mark-set-first', + 'continuation-mark-set?', 'continuation-marks', + 'continuation-prompt-available?', 'continuation-prompt-tag?', + 'continuation?', 'contract-continuation-mark-key', + 'contract-custom-write-property-proc', 'contract-exercise', + 'contract-first-order', 'contract-first-order-passes?', + 'contract-late-neg-projection', 'contract-name', 'contract-proc', + 'contract-projection', 'contract-property?', + 'contract-random-generate', 'contract-random-generate-fail', + 'contract-random-generate-fail?', + 'contract-random-generate-get-current-environment', + 'contract-random-generate-stash', 'contract-random-generate/choose', + 'contract-stronger?', 'contract-struct-exercise', + 'contract-struct-generate', 'contract-struct-late-neg-projection', + 'contract-struct-list-contract?', 'contract-val-first-projection', + 'contract?', 'convert-stream', 'copy-directory/files', 'copy-file', + 'copy-port', 'cos', 'cosh', 'count', 'current-blame-format', + 'current-break-parameterization', 'current-code-inspector', + 'current-command-line-arguments', 'current-compile', + 'current-compiled-file-roots', 'current-continuation-marks', + 'current-contract-region', 'current-custodian', 'current-directory', + 'current-directory-for-user', 'current-drive', + 'current-environment-variables', 'current-error-port', 'current-eval', + 'current-evt-pseudo-random-generator', + 'current-force-delete-permissions', 'current-future', + 'current-gc-milliseconds', 'current-get-interaction-input-port', + 'current-inexact-milliseconds', 'current-input-port', + 'current-inspector', 'current-library-collection-links', + 'current-library-collection-paths', 'current-load', + 'current-load-extension', 'current-load-relative-directory', + 'current-load/use-compiled', 'current-locale', 'current-logger', + 'current-memory-use', 'current-milliseconds', + 'current-module-declare-name', 'current-module-declare-source', + 'current-module-name-resolver', 'current-module-path-for-load', + 'current-namespace', 'current-output-port', 'current-parameterization', + 'current-plumber', 'current-preserved-thread-cell-values', + 'current-print', 'current-process-milliseconds', 'current-prompt-read', + 'current-pseudo-random-generator', 'current-read-interaction', + 'current-reader-guard', 'current-readtable', 'current-seconds', + 'current-security-guard', 'current-subprocess-custodian-mode', + 'current-thread', 'current-thread-group', + 'current-thread-initial-stack-size', + 'current-write-relative-directory', 'curry', 'curryr', + 'custodian-box-value', 'custodian-box?', 'custodian-limit-memory', + 'custodian-managed-list', 'custodian-memory-accounting-available?', + 'custodian-require-memory', 'custodian-shutdown-all', 'custodian?', + 'custom-print-quotable-accessor', 'custom-print-quotable?', + 'custom-write-accessor', 'custom-write-property-proc', 'custom-write?', + 'date', 'date*', 'date*-nanosecond', 'date*-time-zone-name', 'date*?', + 'date-day', 'date-dst?', 'date-hour', 'date-minute', 'date-month', + 'date-second', 'date-time-zone-offset', 'date-week-day', 'date-year', + 'date-year-day', 'date?', 'datum->syntax', 'datum-intern-literal', + 'default-continuation-prompt-tag', 'degrees->radians', + 'delete-directory', 'delete-directory/files', 'delete-file', + 'denominator', 'dict->list', 'dict-can-functional-set?', + 'dict-can-remove-keys?', 'dict-clear', 'dict-clear!', 'dict-copy', + 'dict-count', 'dict-empty?', 'dict-for-each', 'dict-has-key?', + 'dict-implements/c', 'dict-implements?', 'dict-iter-contract', + 'dict-iterate-first', 'dict-iterate-key', 'dict-iterate-next', + 'dict-iterate-value', 'dict-key-contract', 'dict-keys', 'dict-map', + 'dict-mutable?', 'dict-ref', 'dict-ref!', 'dict-remove', + 'dict-remove!', 'dict-set', 'dict-set!', 'dict-set*', 'dict-set*!', + 'dict-update', 'dict-update!', 'dict-value-contract', 'dict-values', + 'dict?', 'directory-exists?', 'directory-list', 'disjoin', 'display', + 'display-lines', 'display-lines-to-file', 'display-to-file', + 'displayln', 'double-flonum?', 'drop', 'drop-common-prefix', + 'drop-right', 'dropf', 'dropf-right', 'dump-memory-stats', + 'dup-input-port', 'dup-output-port', 'dynamic->*', 'dynamic-get-field', + 'dynamic-object/c', 'dynamic-place', 'dynamic-place*', + 'dynamic-require', 'dynamic-require-for-syntax', 'dynamic-send', + 'dynamic-set-field!', 'dynamic-wind', 'eighth', 'empty', + 'empty-sequence', 'empty-stream', 'empty?', + 'environment-variables-copy', 'environment-variables-names', + 'environment-variables-ref', 'environment-variables-set!', + 'environment-variables?', 'eof', 'eof-evt', 'eof-object?', + 'ephemeron-value', 'ephemeron?', 'eprintf', 'eq-contract-val', + 'eq-contract?', 'eq-hash-code', 'eq?', 'equal-contract-val', + 'equal-contract?', 'equal-hash-code', 'equal-secondary-hash-code', + 'equal<%>', 'equal?', 'equal?/recur', 'eqv-hash-code', 'eqv?', 'error', + 'error-display-handler', 'error-escape-handler', + 'error-print-context-length', 'error-print-source-location', + 'error-print-width', 'error-value->string-handler', 'eval', + 'eval-jit-enabled', 'eval-syntax', 'even?', 'evt/c', 'evt?', + 'exact->inexact', 'exact-ceiling', 'exact-floor', 'exact-integer?', + 'exact-nonnegative-integer?', 'exact-positive-integer?', 'exact-round', + 'exact-truncate', 'exact?', 'executable-yield-handler', 'exit', + 'exit-handler', 'exn', 'exn-continuation-marks', 'exn-message', + 'exn:break', 'exn:break-continuation', 'exn:break:hang-up', + 'exn:break:hang-up?', 'exn:break:terminate', 'exn:break:terminate?', + 'exn:break?', 'exn:fail', 'exn:fail:contract', + 'exn:fail:contract:arity', 'exn:fail:contract:arity?', + 'exn:fail:contract:blame', 'exn:fail:contract:blame-object', + 'exn:fail:contract:blame?', 'exn:fail:contract:continuation', + 'exn:fail:contract:continuation?', 'exn:fail:contract:divide-by-zero', + 'exn:fail:contract:divide-by-zero?', + 'exn:fail:contract:non-fixnum-result', + 'exn:fail:contract:non-fixnum-result?', 'exn:fail:contract:variable', + 'exn:fail:contract:variable-id', 'exn:fail:contract:variable?', + 'exn:fail:contract?', 'exn:fail:filesystem', + 'exn:fail:filesystem:errno', 'exn:fail:filesystem:errno-errno', + 'exn:fail:filesystem:errno?', 'exn:fail:filesystem:exists', + 'exn:fail:filesystem:exists?', 'exn:fail:filesystem:missing-module', + 'exn:fail:filesystem:missing-module-path', + 'exn:fail:filesystem:missing-module?', 'exn:fail:filesystem:version', + 'exn:fail:filesystem:version?', 'exn:fail:filesystem?', + 'exn:fail:network', 'exn:fail:network:errno', + 'exn:fail:network:errno-errno', 'exn:fail:network:errno?', + 'exn:fail:network?', 'exn:fail:object', 'exn:fail:object?', + 'exn:fail:out-of-memory', 'exn:fail:out-of-memory?', 'exn:fail:read', + 'exn:fail:read-srclocs', 'exn:fail:read:eof', 'exn:fail:read:eof?', + 'exn:fail:read:non-char', 'exn:fail:read:non-char?', 'exn:fail:read?', + 'exn:fail:syntax', 'exn:fail:syntax-exprs', + 'exn:fail:syntax:missing-module', + 'exn:fail:syntax:missing-module-path', + 'exn:fail:syntax:missing-module?', 'exn:fail:syntax:unbound', + 'exn:fail:syntax:unbound?', 'exn:fail:syntax?', 'exn:fail:unsupported', + 'exn:fail:unsupported?', 'exn:fail:user', 'exn:fail:user?', + 'exn:fail?', 'exn:misc:match?', 'exn:missing-module-accessor', + 'exn:missing-module?', 'exn:srclocs-accessor', 'exn:srclocs?', 'exn?', + 'exp', 'expand', 'expand-once', 'expand-syntax', 'expand-syntax-once', + 'expand-syntax-to-top-form', 'expand-to-top-form', 'expand-user-path', + 'explode-path', 'expt', 'externalizable<%>', 'failure-result/c', + 'false?', 'field-names', 'fifth', 'file->bytes', 'file->bytes-lines', + 'file->lines', 'file->list', 'file->string', 'file->value', + 'file-exists?', 'file-name-from-path', 'file-or-directory-identity', + 'file-or-directory-modify-seconds', 'file-or-directory-permissions', + 'file-position', 'file-position*', 'file-size', + 'file-stream-buffer-mode', 'file-stream-port?', 'file-truncate', + 'filename-extension', 'filesystem-change-evt', + 'filesystem-change-evt-cancel', 'filesystem-change-evt?', + 'filesystem-root-list', 'filter', 'filter-map', 'filter-not', + 'filter-read-input-port', 'find-executable-path', 'find-files', + 'find-library-collection-links', 'find-library-collection-paths', + 'find-relative-path', 'find-system-path', 'findf', 'first', + 'first-or/c', 'fixnum?', 'flat-contract', 'flat-contract-predicate', + 'flat-contract-property?', 'flat-contract?', 'flat-named-contract', + 'flatten', 'floating-point-bytes->real', 'flonum?', 'floor', + 'flush-output', 'fold-files', 'foldl', 'foldr', 'for-each', 'force', + 'format', 'fourth', 'fprintf', 'free-identifier=?', + 'free-label-identifier=?', 'free-template-identifier=?', + 'free-transformer-identifier=?', 'fsemaphore-count', 'fsemaphore-post', + 'fsemaphore-try-wait?', 'fsemaphore-wait', 'fsemaphore?', 'future', + 'future?', 'futures-enabled?', 'gcd', 'generate-member-key', + 'generate-temporaries', 'generic-set?', 'generic?', 'gensym', + 'get-output-bytes', 'get-output-string', 'get-preference', + 'get/build-late-neg-projection', 'get/build-val-first-projection', + 'getenv', 'global-port-print-handler', 'group-by', 'group-execute-bit', + 'group-read-bit', 'group-write-bit', 'guard-evt', 'handle-evt', + 'handle-evt?', 'has-blame?', 'has-contract?', 'hash', 'hash->list', + 'hash-clear', 'hash-clear!', 'hash-copy', 'hash-copy-clear', + 'hash-count', 'hash-empty?', 'hash-eq?', 'hash-equal?', 'hash-eqv?', + 'hash-for-each', 'hash-has-key?', 'hash-iterate-first', + 'hash-iterate-key', 'hash-iterate-key+value', 'hash-iterate-next', + 'hash-iterate-pair', 'hash-iterate-value', 'hash-keys', 'hash-map', + 'hash-placeholder?', 'hash-ref', 'hash-ref!', 'hash-remove', + 'hash-remove!', 'hash-set', 'hash-set!', 'hash-set*', 'hash-set*!', + 'hash-update', 'hash-update!', 'hash-values', 'hash-weak?', 'hash/c', + 'hash?', 'hasheq', 'hasheqv', 'identifier-binding', + 'identifier-binding-symbol', 'identifier-label-binding', + 'identifier-prune-lexical-context', + 'identifier-prune-to-source-module', + 'identifier-remove-from-definition-context', + 'identifier-template-binding', 'identifier-transformer-binding', + 'identifier?', 'identity', 'if/c', 'imag-part', 'immutable?', + 'impersonate-box', 'impersonate-channel', + 'impersonate-continuation-mark-key', 'impersonate-hash', + 'impersonate-hash-set', 'impersonate-procedure', + 'impersonate-procedure*', 'impersonate-prompt-tag', + 'impersonate-struct', 'impersonate-vector', 'impersonator-contract?', + 'impersonator-ephemeron', 'impersonator-of?', + 'impersonator-prop:application-mark', 'impersonator-prop:blame', + 'impersonator-prop:contracted', + 'impersonator-property-accessor-procedure?', 'impersonator-property?', + 'impersonator?', 'implementation?', 'implementation?/c', 'in-bytes', + 'in-bytes-lines', 'in-combinations', 'in-cycle', 'in-dict', + 'in-dict-keys', 'in-dict-pairs', 'in-dict-values', 'in-directory', + 'in-hash', 'in-hash-keys', 'in-hash-pairs', 'in-hash-values', + 'in-immutable-hash', 'in-immutable-hash-keys', + 'in-immutable-hash-pairs', 'in-immutable-hash-values', + 'in-immutable-set', 'in-indexed', 'in-input-port-bytes', + 'in-input-port-chars', 'in-lines', 'in-list', 'in-mlist', + 'in-mutable-hash', 'in-mutable-hash-keys', 'in-mutable-hash-pairs', + 'in-mutable-hash-values', 'in-mutable-set', 'in-naturals', + 'in-parallel', 'in-permutations', 'in-port', 'in-producer', 'in-range', + 'in-sequences', 'in-set', 'in-slice', 'in-stream', 'in-string', + 'in-syntax', 'in-value', 'in-values*-sequence', 'in-values-sequence', + 'in-vector', 'in-weak-hash', 'in-weak-hash-keys', 'in-weak-hash-pairs', + 'in-weak-hash-values', 'in-weak-set', 'inexact->exact', + 'inexact-real?', 'inexact?', 'infinite?', 'input-port-append', + 'input-port?', 'inspector?', 'instanceof/c', 'integer->char', + 'integer->integer-bytes', 'integer-bytes->integer', 'integer-in', + 'integer-length', 'integer-sqrt', 'integer-sqrt/remainder', 'integer?', + 'interface->method-names', 'interface-extension?', 'interface?', + 'internal-definition-context-binding-identifiers', + 'internal-definition-context-introduce', + 'internal-definition-context-seal', 'internal-definition-context?', + 'is-a?', 'is-a?/c', 'keyword->string', 'keyword-apply', 'keyword<?', + 'keyword?', 'keywords-match', 'kill-thread', 'last', 'last-pair', + 'lcm', 'length', 'liberal-define-context?', 'link-exists?', 'list', + 'list*', 'list*of', 'list->bytes', 'list->mutable-set', + 'list->mutable-seteq', 'list->mutable-seteqv', 'list->set', + 'list->seteq', 'list->seteqv', 'list->string', 'list->vector', + 'list->weak-set', 'list->weak-seteq', 'list->weak-seteqv', + 'list-contract?', 'list-prefix?', 'list-ref', 'list-set', 'list-tail', + 'list-update', 'list/c', 'list?', 'listen-port-number?', 'listof', + 'load', 'load-extension', 'load-on-demand-enabled', 'load-relative', + 'load-relative-extension', 'load/cd', 'load/use-compiled', + 'local-expand', 'local-expand/capture-lifts', + 'local-transformer-expand', 'local-transformer-expand/capture-lifts', + 'locale-string-encoding', 'log', 'log-all-levels', 'log-level-evt', + 'log-level?', 'log-max-level', 'log-message', 'log-receiver?', + 'logger-name', 'logger?', 'magnitude', 'make-arity-at-least', + 'make-base-empty-namespace', 'make-base-namespace', 'make-bytes', + 'make-channel', 'make-chaperone-contract', + 'make-continuation-mark-key', 'make-continuation-prompt-tag', + 'make-contract', 'make-custodian', 'make-custodian-box', + 'make-custom-hash', 'make-custom-hash-types', 'make-custom-set', + 'make-custom-set-types', 'make-date', 'make-date*', + 'make-derived-parameter', 'make-directory', 'make-directory*', + 'make-do-sequence', 'make-empty-namespace', + 'make-environment-variables', 'make-ephemeron', 'make-exn', + 'make-exn:break', 'make-exn:break:hang-up', 'make-exn:break:terminate', + 'make-exn:fail', 'make-exn:fail:contract', + 'make-exn:fail:contract:arity', 'make-exn:fail:contract:blame', + 'make-exn:fail:contract:continuation', + 'make-exn:fail:contract:divide-by-zero', + 'make-exn:fail:contract:non-fixnum-result', + 'make-exn:fail:contract:variable', 'make-exn:fail:filesystem', + 'make-exn:fail:filesystem:errno', 'make-exn:fail:filesystem:exists', + 'make-exn:fail:filesystem:missing-module', + 'make-exn:fail:filesystem:version', 'make-exn:fail:network', + 'make-exn:fail:network:errno', 'make-exn:fail:object', + 'make-exn:fail:out-of-memory', 'make-exn:fail:read', + 'make-exn:fail:read:eof', 'make-exn:fail:read:non-char', + 'make-exn:fail:syntax', 'make-exn:fail:syntax:missing-module', + 'make-exn:fail:syntax:unbound', 'make-exn:fail:unsupported', + 'make-exn:fail:user', 'make-file-or-directory-link', + 'make-flat-contract', 'make-fsemaphore', 'make-generic', + 'make-handle-get-preference-locked', 'make-hash', + 'make-hash-placeholder', 'make-hasheq', 'make-hasheq-placeholder', + 'make-hasheqv', 'make-hasheqv-placeholder', + 'make-immutable-custom-hash', 'make-immutable-hash', + 'make-immutable-hasheq', 'make-immutable-hasheqv', + 'make-impersonator-property', 'make-input-port', + 'make-input-port/read-to-peek', 'make-inspector', + 'make-keyword-procedure', 'make-known-char-range-list', + 'make-limited-input-port', 'make-list', 'make-lock-file-name', + 'make-log-receiver', 'make-logger', 'make-mixin-contract', + 'make-mutable-custom-set', 'make-none/c', 'make-object', + 'make-output-port', 'make-parameter', 'make-parent-directory*', + 'make-phantom-bytes', 'make-pipe', 'make-pipe-with-specials', + 'make-placeholder', 'make-plumber', 'make-polar', 'make-prefab-struct', + 'make-primitive-class', 'make-proj-contract', + 'make-pseudo-random-generator', 'make-reader-graph', 'make-readtable', + 'make-rectangular', 'make-rename-transformer', + 'make-resolved-module-path', 'make-security-guard', 'make-semaphore', + 'make-set!-transformer', 'make-shared-bytes', 'make-sibling-inspector', + 'make-special-comment', 'make-srcloc', 'make-string', + 'make-struct-field-accessor', 'make-struct-field-mutator', + 'make-struct-type', 'make-struct-type-property', + 'make-syntax-delta-introducer', 'make-syntax-introducer', + 'make-temporary-file', 'make-tentative-pretty-print-output-port', + 'make-thread-cell', 'make-thread-group', 'make-vector', + 'make-weak-box', 'make-weak-custom-hash', 'make-weak-custom-set', + 'make-weak-hash', 'make-weak-hasheq', 'make-weak-hasheqv', + 'make-will-executor', 'map', 'match-equality-test', + 'matches-arity-exactly?', 'max', 'mcar', 'mcdr', 'mcons', 'member', + 'member-name-key-hash-code', 'member-name-key=?', 'member-name-key?', + 'memf', 'memq', 'memv', 'merge-input', 'method-in-interface?', 'min', + 'mixin-contract', 'module->exports', 'module->imports', + 'module->language-info', 'module->namespace', + 'module-compiled-cross-phase-persistent?', 'module-compiled-exports', + 'module-compiled-imports', 'module-compiled-language-info', + 'module-compiled-name', 'module-compiled-submodules', + 'module-declared?', 'module-path-index-join', + 'module-path-index-resolve', 'module-path-index-split', + 'module-path-index-submodule', 'module-path-index?', 'module-path?', + 'module-predefined?', 'module-provide-protected?', 'modulo', 'mpair?', + 'mutable-set', 'mutable-seteq', 'mutable-seteqv', 'n->th', + 'nack-guard-evt', 'namespace-anchor->empty-namespace', + 'namespace-anchor->namespace', 'namespace-anchor?', + 'namespace-attach-module', 'namespace-attach-module-declaration', + 'namespace-base-phase', 'namespace-mapped-symbols', + 'namespace-module-identifier', 'namespace-module-registry', + 'namespace-require', 'namespace-require/constant', + 'namespace-require/copy', 'namespace-require/expansion-time', + 'namespace-set-variable-value!', 'namespace-symbol->identifier', + 'namespace-syntax-introduce', 'namespace-undefine-variable!', + 'namespace-unprotect-module', 'namespace-variable-value', 'namespace?', + 'nan?', 'natural-number/c', 'negate', 'negative?', 'never-evt', + 'new-∀/c', 'new-∃/c', 'newline', 'ninth', 'non-empty-listof', + 'non-empty-string?', 'none/c', 'normal-case-path', 'normalize-arity', + 'normalize-path', 'normalized-arity?', 'not', 'not/c', 'null', 'null?', + 'number->string', 'number?', 'numerator', 'object%', 'object->vector', + 'object-info', 'object-interface', 'object-method-arity-includes?', + 'object-name', 'object-or-false=?', 'object=?', 'object?', 'odd?', + 'one-of/c', 'open-input-bytes', 'open-input-file', + 'open-input-output-file', 'open-input-string', 'open-output-bytes', + 'open-output-file', 'open-output-nowhere', 'open-output-string', + 'or/c', 'order-of-magnitude', 'ormap', 'other-execute-bit', + 'other-read-bit', 'other-write-bit', 'output-port?', 'pair?', + 'parameter-procedure=?', 'parameter/c', 'parameter?', + 'parameterization?', 'parse-command-line', 'partition', 'path->bytes', + 'path->complete-path', 'path->directory-path', 'path->string', + 'path-add-suffix', 'path-convention-type', 'path-element->bytes', + 'path-element->string', 'path-element?', 'path-for-some-system?', + 'path-list-string->path-list', 'path-only', 'path-replace-suffix', + 'path-string?', 'path<?', 'path?', 'pathlist-closure', 'peek-byte', + 'peek-byte-or-special', 'peek-bytes', 'peek-bytes!', 'peek-bytes!-evt', + 'peek-bytes-avail!', 'peek-bytes-avail!*', 'peek-bytes-avail!-evt', + 'peek-bytes-avail!/enable-break', 'peek-bytes-evt', 'peek-char', + 'peek-char-or-special', 'peek-string', 'peek-string!', + 'peek-string!-evt', 'peek-string-evt', 'peeking-input-port', + 'permutations', 'phantom-bytes?', 'pi', 'pi.f', 'pipe-content-length', + 'place-break', 'place-channel', 'place-channel-get', + 'place-channel-put', 'place-channel-put/get', 'place-channel?', + 'place-dead-evt', 'place-enabled?', 'place-kill', 'place-location?', + 'place-message-allowed?', 'place-sleep', 'place-wait', 'place?', + 'placeholder-get', 'placeholder-set!', 'placeholder?', + 'plumber-add-flush!', 'plumber-flush-all', + 'plumber-flush-handle-remove!', 'plumber-flush-handle?', 'plumber?', + 'poll-guard-evt', 'port->bytes', 'port->bytes-lines', 'port->lines', + 'port->list', 'port->string', 'port-closed-evt', 'port-closed?', + 'port-commit-peeked', 'port-count-lines!', 'port-count-lines-enabled', + 'port-counts-lines?', 'port-display-handler', 'port-file-identity', + 'port-file-unlock', 'port-next-location', 'port-number?', + 'port-print-handler', 'port-progress-evt', + 'port-provides-progress-evts?', 'port-read-handler', + 'port-try-file-lock?', 'port-write-handler', 'port-writes-atomic?', + 'port-writes-special?', 'port?', 'positive?', 'predicate/c', + 'prefab-key->struct-type', 'prefab-key?', 'prefab-struct-key', + 'preferences-lock-file-mode', 'pregexp', 'pregexp?', 'pretty-display', + 'pretty-format', 'pretty-print', 'pretty-print-.-symbol-without-bars', + 'pretty-print-abbreviate-read-macros', 'pretty-print-columns', + 'pretty-print-current-style-table', 'pretty-print-depth', + 'pretty-print-exact-as-decimal', 'pretty-print-extend-style-table', + 'pretty-print-handler', 'pretty-print-newline', + 'pretty-print-post-print-hook', 'pretty-print-pre-print-hook', + 'pretty-print-print-hook', 'pretty-print-print-line', + 'pretty-print-remap-stylable', 'pretty-print-show-inexactness', + 'pretty-print-size-hook', 'pretty-print-style-table?', + 'pretty-printing', 'pretty-write', 'primitive-closure?', + 'primitive-result-arity', 'primitive?', 'print', 'print-as-expression', + 'print-boolean-long-form', 'print-box', 'print-graph', + 'print-hash-table', 'print-mpair-curly-braces', + 'print-pair-curly-braces', 'print-reader-abbreviations', + 'print-struct', 'print-syntax-width', 'print-unreadable', + 'print-vector-length', 'printable/c', 'printable<%>', 'printf', + 'println', 'procedure->method', 'procedure-arity', + 'procedure-arity-includes/c', 'procedure-arity-includes?', + 'procedure-arity?', 'procedure-closure-contents-eq?', + 'procedure-extract-target', 'procedure-keywords', + 'procedure-reduce-arity', 'procedure-reduce-keyword-arity', + 'procedure-rename', 'procedure-result-arity', 'procedure-specialize', + 'procedure-struct-type?', 'procedure?', 'process', 'process*', + 'process*/ports', 'process/ports', 'processor-count', 'progress-evt?', + 'promise-forced?', 'promise-running?', 'promise/c', 'promise/name?', + 'promise?', 'prop:arity-string', 'prop:arrow-contract', + 'prop:arrow-contract-get-info', 'prop:arrow-contract?', 'prop:blame', + 'prop:chaperone-contract', 'prop:checked-procedure', 'prop:contract', + 'prop:contracted', 'prop:custom-print-quotable', 'prop:custom-write', + 'prop:dict', 'prop:dict/contract', 'prop:equal+hash', 'prop:evt', + 'prop:exn:missing-module', 'prop:exn:srclocs', + 'prop:expansion-contexts', 'prop:flat-contract', + 'prop:impersonator-of', 'prop:input-port', + 'prop:liberal-define-context', 'prop:object-name', + 'prop:opt-chaperone-contract', 'prop:opt-chaperone-contract-get-test', + 'prop:opt-chaperone-contract?', 'prop:orc-contract', + 'prop:orc-contract-get-subcontracts', 'prop:orc-contract?', + 'prop:output-port', 'prop:place-location', 'prop:procedure', + 'prop:recursive-contract', 'prop:recursive-contract-unroll', + 'prop:recursive-contract?', 'prop:rename-transformer', 'prop:sequence', + 'prop:set!-transformer', 'prop:stream', 'proper-subset?', + 'pseudo-random-generator->vector', 'pseudo-random-generator-vector?', + 'pseudo-random-generator?', 'put-preferences', 'putenv', 'quotient', + 'quotient/remainder', 'radians->degrees', 'raise', + 'raise-argument-error', 'raise-arguments-error', 'raise-arity-error', + 'raise-blame-error', 'raise-contract-error', 'raise-mismatch-error', + 'raise-not-cons-blame-error', 'raise-range-error', + 'raise-result-error', 'raise-syntax-error', 'raise-type-error', + 'raise-user-error', 'random', 'random-seed', 'range', 'rational?', + 'rationalize', 'read', 'read-accept-bar-quote', 'read-accept-box', + 'read-accept-compiled', 'read-accept-dot', 'read-accept-graph', + 'read-accept-infix-dot', 'read-accept-lang', 'read-accept-quasiquote', + 'read-accept-reader', 'read-byte', 'read-byte-or-special', + 'read-bytes', 'read-bytes!', 'read-bytes!-evt', 'read-bytes-avail!', + 'read-bytes-avail!*', 'read-bytes-avail!-evt', + 'read-bytes-avail!/enable-break', 'read-bytes-evt', 'read-bytes-line', + 'read-bytes-line-evt', 'read-case-sensitive', 'read-cdot', 'read-char', + 'read-char-or-special', 'read-curly-brace-as-paren', + 'read-curly-brace-with-tag', 'read-decimal-as-inexact', + 'read-eval-print-loop', 'read-language', 'read-line', 'read-line-evt', + 'read-on-demand-source', 'read-square-bracket-as-paren', + 'read-square-bracket-with-tag', 'read-string', 'read-string!', + 'read-string!-evt', 'read-string-evt', 'read-syntax', + 'read-syntax/recursive', 'read/recursive', 'readtable-mapping', + 'readtable?', 'real->decimal-string', 'real->double-flonum', + 'real->floating-point-bytes', 'real->single-flonum', 'real-in', + 'real-part', 'real?', 'reencode-input-port', 'reencode-output-port', + 'regexp', 'regexp-match', 'regexp-match*', 'regexp-match-evt', + 'regexp-match-exact?', 'regexp-match-peek', + 'regexp-match-peek-immediate', 'regexp-match-peek-positions', + 'regexp-match-peek-positions*', + 'regexp-match-peek-positions-immediate', + 'regexp-match-peek-positions-immediate/end', + 'regexp-match-peek-positions/end', 'regexp-match-positions', + 'regexp-match-positions*', 'regexp-match-positions/end', + 'regexp-match/end', 'regexp-match?', 'regexp-max-lookbehind', + 'regexp-quote', 'regexp-replace', 'regexp-replace*', + 'regexp-replace-quote', 'regexp-replaces', 'regexp-split', + 'regexp-try-match', 'regexp?', 'relative-path?', 'relocate-input-port', + 'relocate-output-port', 'remainder', 'remf', 'remf*', 'remove', + 'remove*', 'remove-duplicates', 'remq', 'remq*', 'remv', 'remv*', + 'rename-contract', 'rename-file-or-directory', + 'rename-transformer-target', 'rename-transformer?', 'replace-evt', + 'reroot-path', 'resolve-path', 'resolved-module-path-name', + 'resolved-module-path?', 'rest', 'reverse', 'round', 'second', + 'seconds->date', 'security-guard?', 'semaphore-peek-evt', + 'semaphore-peek-evt?', 'semaphore-post', 'semaphore-try-wait?', + 'semaphore-wait', 'semaphore-wait/enable-break', 'semaphore?', + 'sequence->list', 'sequence->stream', 'sequence-add-between', + 'sequence-andmap', 'sequence-append', 'sequence-count', + 'sequence-filter', 'sequence-fold', 'sequence-for-each', + 'sequence-generate', 'sequence-generate*', 'sequence-length', + 'sequence-map', 'sequence-ormap', 'sequence-ref', 'sequence-tail', + 'sequence/c', 'sequence?', 'set', 'set!-transformer-procedure', + 'set!-transformer?', 'set->list', 'set->stream', 'set-add', 'set-add!', + 'set-box!', 'set-clear', 'set-clear!', 'set-copy', 'set-copy-clear', + 'set-count', 'set-empty?', 'set-eq?', 'set-equal?', 'set-eqv?', + 'set-first', 'set-for-each', 'set-implements/c', 'set-implements?', + 'set-intersect', 'set-intersect!', 'set-map', 'set-mcar!', 'set-mcdr!', + 'set-member?', 'set-mutable?', 'set-phantom-bytes!', + 'set-port-next-location!', 'set-remove', 'set-remove!', 'set-rest', + 'set-some-basic-contracts!', 'set-subtract', 'set-subtract!', + 'set-symmetric-difference', 'set-symmetric-difference!', 'set-union', + 'set-union!', 'set-weak?', 'set/c', 'set=?', 'set?', 'seteq', 'seteqv', + 'seventh', 'sgn', 'shared-bytes', 'shell-execute', 'shrink-path-wrt', + 'shuffle', 'simple-form-path', 'simplify-path', 'sin', + 'single-flonum?', 'sinh', 'sixth', 'skip-projection-wrapper?', 'sleep', + 'some-system-path->string', 'sort', 'special-comment-value', + 'special-comment?', 'special-filter-input-port', 'split-at', + 'split-at-right', 'split-common-prefix', 'split-path', 'splitf-at', + 'splitf-at-right', 'sqr', 'sqrt', 'srcloc', 'srcloc->string', + 'srcloc-column', 'srcloc-line', 'srcloc-position', 'srcloc-source', + 'srcloc-span', 'srcloc?', 'stop-after', 'stop-before', 'stream->list', + 'stream-add-between', 'stream-andmap', 'stream-append', 'stream-count', + 'stream-empty?', 'stream-filter', 'stream-first', 'stream-fold', + 'stream-for-each', 'stream-length', 'stream-map', 'stream-ormap', + 'stream-ref', 'stream-rest', 'stream-tail', 'stream/c', 'stream?', + 'string', 'string->bytes/latin-1', 'string->bytes/locale', + 'string->bytes/utf-8', 'string->immutable-string', 'string->keyword', + 'string->list', 'string->number', 'string->path', + 'string->path-element', 'string->some-system-path', 'string->symbol', + 'string->uninterned-symbol', 'string->unreadable-symbol', + 'string-append', 'string-append*', 'string-ci<=?', 'string-ci<?', + 'string-ci=?', 'string-ci>=?', 'string-ci>?', 'string-contains?', + 'string-copy', 'string-copy!', 'string-downcase', + 'string-environment-variable-name?', 'string-fill!', 'string-foldcase', + 'string-join', 'string-len/c', 'string-length', 'string-locale-ci<?', + 'string-locale-ci=?', 'string-locale-ci>?', 'string-locale-downcase', + 'string-locale-upcase', 'string-locale<?', 'string-locale=?', + 'string-locale>?', 'string-no-nuls?', 'string-normalize-nfc', + 'string-normalize-nfd', 'string-normalize-nfkc', + 'string-normalize-nfkd', 'string-normalize-spaces', 'string-port?', + 'string-prefix?', 'string-ref', 'string-replace', 'string-set!', + 'string-split', 'string-suffix?', 'string-titlecase', 'string-trim', + 'string-upcase', 'string-utf-8-length', 'string<=?', 'string<?', + 'string=?', 'string>=?', 'string>?', 'string?', 'struct->vector', + 'struct-accessor-procedure?', 'struct-constructor-procedure?', + 'struct-info', 'struct-mutator-procedure?', + 'struct-predicate-procedure?', 'struct-type-info', + 'struct-type-make-constructor', 'struct-type-make-predicate', + 'struct-type-property-accessor-procedure?', 'struct-type-property/c', + 'struct-type-property?', 'struct-type?', 'struct:arity-at-least', + 'struct:arrow-contract-info', 'struct:date', 'struct:date*', + 'struct:exn', 'struct:exn:break', 'struct:exn:break:hang-up', + 'struct:exn:break:terminate', 'struct:exn:fail', + 'struct:exn:fail:contract', 'struct:exn:fail:contract:arity', + 'struct:exn:fail:contract:blame', + 'struct:exn:fail:contract:continuation', + 'struct:exn:fail:contract:divide-by-zero', + 'struct:exn:fail:contract:non-fixnum-result', + 'struct:exn:fail:contract:variable', 'struct:exn:fail:filesystem', + 'struct:exn:fail:filesystem:errno', + 'struct:exn:fail:filesystem:exists', + 'struct:exn:fail:filesystem:missing-module', + 'struct:exn:fail:filesystem:version', 'struct:exn:fail:network', + 'struct:exn:fail:network:errno', 'struct:exn:fail:object', + 'struct:exn:fail:out-of-memory', 'struct:exn:fail:read', + 'struct:exn:fail:read:eof', 'struct:exn:fail:read:non-char', + 'struct:exn:fail:syntax', 'struct:exn:fail:syntax:missing-module', + 'struct:exn:fail:syntax:unbound', 'struct:exn:fail:unsupported', + 'struct:exn:fail:user', 'struct:srcloc', + 'struct:wrapped-extra-arg-arrow', 'struct?', 'sub1', 'subbytes', + 'subclass?', 'subclass?/c', 'subprocess', 'subprocess-group-enabled', + 'subprocess-kill', 'subprocess-pid', 'subprocess-status', + 'subprocess-wait', 'subprocess?', 'subset?', 'substring', 'suggest/c', + 'symbol->string', 'symbol-interned?', 'symbol-unreadable?', 'symbol<?', + 'symbol=?', 'symbol?', 'symbols', 'sync', 'sync/enable-break', + 'sync/timeout', 'sync/timeout/enable-break', 'syntax->datum', + 'syntax->list', 'syntax-arm', 'syntax-column', 'syntax-debug-info', + 'syntax-disarm', 'syntax-e', 'syntax-line', + 'syntax-local-bind-syntaxes', 'syntax-local-certifier', + 'syntax-local-context', 'syntax-local-expand-expression', + 'syntax-local-get-shadower', 'syntax-local-identifier-as-binding', + 'syntax-local-introduce', 'syntax-local-lift-context', + 'syntax-local-lift-expression', 'syntax-local-lift-module', + 'syntax-local-lift-module-end-declaration', + 'syntax-local-lift-provide', 'syntax-local-lift-require', + 'syntax-local-lift-values-expression', + 'syntax-local-make-definition-context', + 'syntax-local-make-delta-introducer', + 'syntax-local-module-defined-identifiers', + 'syntax-local-module-exports', + 'syntax-local-module-required-identifiers', 'syntax-local-name', + 'syntax-local-phase-level', 'syntax-local-submodules', + 'syntax-local-transforming-module-provides?', 'syntax-local-value', + 'syntax-local-value/immediate', 'syntax-original?', 'syntax-position', + 'syntax-property', 'syntax-property-preserved?', + 'syntax-property-symbol-keys', 'syntax-protect', 'syntax-rearm', + 'syntax-recertify', 'syntax-shift-phase-level', 'syntax-source', + 'syntax-source-module', 'syntax-span', 'syntax-taint', + 'syntax-tainted?', 'syntax-track-origin', + 'syntax-transforming-module-expression?', + 'syntax-transforming-with-lifts?', 'syntax-transforming?', 'syntax/c', + 'syntax?', 'system', 'system*', 'system*/exit-code', + 'system-big-endian?', 'system-idle-evt', 'system-language+country', + 'system-library-subpath', 'system-path-convention-type', 'system-type', + 'system/exit-code', 'tail-marks-match?', 'take', 'take-common-prefix', + 'take-right', 'takef', 'takef-right', 'tan', 'tanh', + 'tcp-abandon-port', 'tcp-accept', 'tcp-accept-evt', + 'tcp-accept-ready?', 'tcp-accept/enable-break', 'tcp-addresses', + 'tcp-close', 'tcp-connect', 'tcp-connect/enable-break', 'tcp-listen', + 'tcp-listener?', 'tcp-port?', 'tentative-pretty-print-port-cancel', + 'tentative-pretty-print-port-transfer', 'tenth', 'terminal-port?', + 'the-unsupplied-arg', 'third', 'thread', 'thread-cell-ref', + 'thread-cell-set!', 'thread-cell-values?', 'thread-cell?', + 'thread-dead-evt', 'thread-dead?', 'thread-group?', 'thread-receive', + 'thread-receive-evt', 'thread-resume', 'thread-resume-evt', + 'thread-rewind-receive', 'thread-running?', 'thread-send', + 'thread-suspend', 'thread-suspend-evt', 'thread-try-receive', + 'thread-wait', 'thread/suspend-to-kill', 'thread?', 'time-apply', + 'touch', 'transplant-input-port', 'transplant-output-port', 'true', + 'truncate', 'udp-addresses', 'udp-bind!', 'udp-bound?', 'udp-close', + 'udp-connect!', 'udp-connected?', 'udp-multicast-interface', + 'udp-multicast-join-group!', 'udp-multicast-leave-group!', + 'udp-multicast-loopback?', 'udp-multicast-set-interface!', + 'udp-multicast-set-loopback!', 'udp-multicast-set-ttl!', + 'udp-multicast-ttl', 'udp-open-socket', 'udp-receive!', + 'udp-receive!*', 'udp-receive!-evt', 'udp-receive!/enable-break', + 'udp-receive-ready-evt', 'udp-send', 'udp-send*', 'udp-send-evt', + 'udp-send-ready-evt', 'udp-send-to', 'udp-send-to*', 'udp-send-to-evt', + 'udp-send-to/enable-break', 'udp-send/enable-break', 'udp?', 'unbox', + 'uncaught-exception-handler', 'unit?', 'unspecified-dom', + 'unsupplied-arg?', 'use-collection-link-paths', + 'use-compiled-file-paths', 'use-user-specific-search-paths', + 'user-execute-bit', 'user-read-bit', 'user-write-bit', 'value-blame', + 'value-contract', 'values', 'variable-reference->empty-namespace', + 'variable-reference->module-base-phase', + 'variable-reference->module-declaration-inspector', + 'variable-reference->module-path-index', + 'variable-reference->module-source', 'variable-reference->namespace', + 'variable-reference->phase', + 'variable-reference->resolved-module-path', + 'variable-reference-constant?', 'variable-reference?', 'vector', + 'vector->immutable-vector', 'vector->list', + 'vector->pseudo-random-generator', 'vector->pseudo-random-generator!', + 'vector->values', 'vector-append', 'vector-argmax', 'vector-argmin', + 'vector-copy', 'vector-copy!', 'vector-count', 'vector-drop', + 'vector-drop-right', 'vector-fill!', 'vector-filter', + 'vector-filter-not', 'vector-immutable', 'vector-immutable/c', + 'vector-immutableof', 'vector-length', 'vector-map', 'vector-map!', + 'vector-member', 'vector-memq', 'vector-memv', 'vector-ref', + 'vector-set!', 'vector-set*!', 'vector-set-performance-stats!', + 'vector-split-at', 'vector-split-at-right', 'vector-take', + 'vector-take-right', 'vector/c', 'vector?', 'vectorof', 'version', + 'void', 'void?', 'weak-box-value', 'weak-box?', 'weak-set', + 'weak-seteq', 'weak-seteqv', 'will-execute', 'will-executor?', + 'will-register', 'will-try-execute', 'with-input-from-bytes', + 'with-input-from-file', 'with-input-from-string', + 'with-output-to-bytes', 'with-output-to-file', 'with-output-to-string', + 'would-be-future', 'wrap-evt', 'wrapped-extra-arg-arrow', + 'wrapped-extra-arg-arrow-extra-neg-party-argument', + 'wrapped-extra-arg-arrow-real-func', 'wrapped-extra-arg-arrow?', + 'writable<%>', 'write', 'write-byte', 'write-bytes', + 'write-bytes-avail', 'write-bytes-avail*', 'write-bytes-avail-evt', + 'write-bytes-avail/enable-break', 'write-char', 'write-special', + 'write-special-avail*', 'write-special-evt', 'write-string', + 'write-to-file', 'writeln', 'xor', 'zero?', '~.a', '~.s', '~.v', '~a', + '~e', '~r', '~s', '~v' ) _opening_parenthesis = r'[([{]' @@ -1270,7 +1270,7 @@ class RacketLexer(RegexLexer): ], 'datum': [ (r'(?s)#;|#*', Comment), - (u';[^\\n\\r\x85\u2028\u2029]*', Comment.Single), + (r';[^\n\r\x85\u2028\u2029]*', Comment.Single), (r'#\|', Comment.Multiline, 'block-comment'), # Whitespaces diff --git a/pygments/lexers/markup.py b/pygments/lexers/markup.py index bd814a54..7ee161c1 100644 --- a/pygments/lexers/markup.py +++ b/pygments/lexers/markup.py @@ -168,8 +168,8 @@ class RstLexer(RegexLexer): yield from do_insertions(ins, lexer.get_tokens_unprocessed(code)) # from docutils.parsers.rst.states - closers = u'\'")]}>\u2019\u201d\xbb!?' - unicode_delimiters = u'\u2010\u2011\u2012\u2013\u2014\u00a0' + closers = '\'")]}>\u2019\u201d\xbb!?' + unicode_delimiters = '\u2010\u2011\u2012\u2013\u2014\u00a0' end_string_suffix = (r'((?=$)|(?=[-/:.,; \n\x00%s%s]))' % (re.escape(unicode_delimiters), re.escape(closers))) diff --git a/pygments/lexers/mime.py b/pygments/lexers/mime.py index f5bae8bd..4c6bbd5f 100644 --- a/pygments/lexers/mime.py +++ b/pygments/lexers/mime.py @@ -100,7 +100,7 @@ class MIMELexer(RegexLexer): # skip first newline if entire_body[0] == '\n': - yield pos_body_start, Text.Whitespace, u'\n' + yield pos_body_start, Text.Whitespace, '\n' pos_body_start = pos_body_start + 1 entire_body = entire_body[1:] @@ -176,7 +176,7 @@ class MIMELexer(RegexLexer): prefix_len = match.start(1) - match.start(0) yield match.start(0), Text.Whitespace, match.group(0)[:prefix_len] yield match.start(1), Name.Label, match.group(2) - yield match.end(2), String.Delimiter, u"/" + yield match.end(2), String.Delimiter, '/' yield match.start(3), Name.Label, match.group(3) def get_content_type_subtokens(self, match): diff --git a/pygments/lexers/modeling.py b/pygments/lexers/modeling.py index 167ec86a..5a9071d6 100644 --- a/pygments/lexers/modeling.py +++ b/pygments/lexers/modeling.py @@ -38,7 +38,7 @@ class ModelicaLexer(RegexLexer): tokens = { 'whitespace': [ - (u'[\\s\ufeff]+', Text), + (r'[\s\ufeff]+', Text), (r'//[^\n]*\n?', Comment.Single), (r'/\*.*?\*/', Comment.Multiline) ], diff --git a/pygments/lexers/modula2.py b/pygments/lexers/modula2.py index b95bfaec..4794ebce 100644 --- a/pygments/lexers/modula2.py +++ b/pygments/lexers/modula2.py @@ -1547,15 +1547,15 @@ class Modula2Lexer(RegexLexer): # substitute lexemes when in Algol mode if self.algol_publication_mode: if value == '#': - value = u'≠' + value = '≠' elif value == '<=': - value = u'≤' + value = '≤' elif value == '>=': - value = u'≥' + value = '≥' elif value == '==': - value = u'≡' + value = '≡' elif value == '*.': - value = u'•' + value = '•' # return result yield index, token, value diff --git a/pygments/lexers/perl.py b/pygments/lexers/perl.py index 4a3ca300..741de3fd 100644 --- a/pygments/lexers/perl.py +++ b/pygments/lexers/perl.py @@ -415,70 +415,70 @@ class Perl6Lexer(ExtendedRegexLexer): # Perl 6 has a *lot* of possible bracketing characters # this list was lifted from STD.pm6 (https://github.com/perl6/std) PERL6_BRACKETS = { - u'\u0028': u'\u0029', u'\u003c': u'\u003e', u'\u005b': u'\u005d', - u'\u007b': u'\u007d', u'\u00ab': u'\u00bb', u'\u0f3a': u'\u0f3b', - u'\u0f3c': u'\u0f3d', u'\u169b': u'\u169c', u'\u2018': u'\u2019', - u'\u201a': u'\u2019', u'\u201b': u'\u2019', u'\u201c': u'\u201d', - u'\u201e': u'\u201d', u'\u201f': u'\u201d', u'\u2039': u'\u203a', - u'\u2045': u'\u2046', u'\u207d': u'\u207e', u'\u208d': u'\u208e', - u'\u2208': u'\u220b', u'\u2209': u'\u220c', u'\u220a': u'\u220d', - u'\u2215': u'\u29f5', u'\u223c': u'\u223d', u'\u2243': u'\u22cd', - u'\u2252': u'\u2253', u'\u2254': u'\u2255', u'\u2264': u'\u2265', - u'\u2266': u'\u2267', u'\u2268': u'\u2269', u'\u226a': u'\u226b', - u'\u226e': u'\u226f', u'\u2270': u'\u2271', u'\u2272': u'\u2273', - u'\u2274': u'\u2275', u'\u2276': u'\u2277', u'\u2278': u'\u2279', - u'\u227a': u'\u227b', u'\u227c': u'\u227d', u'\u227e': u'\u227f', - u'\u2280': u'\u2281', u'\u2282': u'\u2283', u'\u2284': u'\u2285', - u'\u2286': u'\u2287', u'\u2288': u'\u2289', u'\u228a': u'\u228b', - u'\u228f': u'\u2290', u'\u2291': u'\u2292', u'\u2298': u'\u29b8', - u'\u22a2': u'\u22a3', u'\u22a6': u'\u2ade', u'\u22a8': u'\u2ae4', - u'\u22a9': u'\u2ae3', u'\u22ab': u'\u2ae5', u'\u22b0': u'\u22b1', - u'\u22b2': u'\u22b3', u'\u22b4': u'\u22b5', u'\u22b6': u'\u22b7', - u'\u22c9': u'\u22ca', u'\u22cb': u'\u22cc', u'\u22d0': u'\u22d1', - u'\u22d6': u'\u22d7', u'\u22d8': u'\u22d9', u'\u22da': u'\u22db', - u'\u22dc': u'\u22dd', u'\u22de': u'\u22df', u'\u22e0': u'\u22e1', - u'\u22e2': u'\u22e3', u'\u22e4': u'\u22e5', u'\u22e6': u'\u22e7', - u'\u22e8': u'\u22e9', u'\u22ea': u'\u22eb', u'\u22ec': u'\u22ed', - u'\u22f0': u'\u22f1', u'\u22f2': u'\u22fa', u'\u22f3': u'\u22fb', - u'\u22f4': u'\u22fc', u'\u22f6': u'\u22fd', u'\u22f7': u'\u22fe', - u'\u2308': u'\u2309', u'\u230a': u'\u230b', u'\u2329': u'\u232a', - u'\u23b4': u'\u23b5', u'\u2768': u'\u2769', u'\u276a': u'\u276b', - u'\u276c': u'\u276d', u'\u276e': u'\u276f', u'\u2770': u'\u2771', - u'\u2772': u'\u2773', u'\u2774': u'\u2775', u'\u27c3': u'\u27c4', - u'\u27c5': u'\u27c6', u'\u27d5': u'\u27d6', u'\u27dd': u'\u27de', - u'\u27e2': u'\u27e3', u'\u27e4': u'\u27e5', u'\u27e6': u'\u27e7', - u'\u27e8': u'\u27e9', u'\u27ea': u'\u27eb', u'\u2983': u'\u2984', - u'\u2985': u'\u2986', u'\u2987': u'\u2988', u'\u2989': u'\u298a', - u'\u298b': u'\u298c', u'\u298d': u'\u298e', u'\u298f': u'\u2990', - u'\u2991': u'\u2992', u'\u2993': u'\u2994', u'\u2995': u'\u2996', - u'\u2997': u'\u2998', u'\u29c0': u'\u29c1', u'\u29c4': u'\u29c5', - u'\u29cf': u'\u29d0', u'\u29d1': u'\u29d2', u'\u29d4': u'\u29d5', - u'\u29d8': u'\u29d9', u'\u29da': u'\u29db', u'\u29f8': u'\u29f9', - u'\u29fc': u'\u29fd', u'\u2a2b': u'\u2a2c', u'\u2a2d': u'\u2a2e', - u'\u2a34': u'\u2a35', u'\u2a3c': u'\u2a3d', u'\u2a64': u'\u2a65', - u'\u2a79': u'\u2a7a', u'\u2a7d': u'\u2a7e', u'\u2a7f': u'\u2a80', - u'\u2a81': u'\u2a82', u'\u2a83': u'\u2a84', u'\u2a8b': u'\u2a8c', - u'\u2a91': u'\u2a92', u'\u2a93': u'\u2a94', u'\u2a95': u'\u2a96', - u'\u2a97': u'\u2a98', u'\u2a99': u'\u2a9a', u'\u2a9b': u'\u2a9c', - u'\u2aa1': u'\u2aa2', u'\u2aa6': u'\u2aa7', u'\u2aa8': u'\u2aa9', - u'\u2aaa': u'\u2aab', u'\u2aac': u'\u2aad', u'\u2aaf': u'\u2ab0', - u'\u2ab3': u'\u2ab4', u'\u2abb': u'\u2abc', u'\u2abd': u'\u2abe', - u'\u2abf': u'\u2ac0', u'\u2ac1': u'\u2ac2', u'\u2ac3': u'\u2ac4', - u'\u2ac5': u'\u2ac6', u'\u2acd': u'\u2ace', u'\u2acf': u'\u2ad0', - u'\u2ad1': u'\u2ad2', u'\u2ad3': u'\u2ad4', u'\u2ad5': u'\u2ad6', - u'\u2aec': u'\u2aed', u'\u2af7': u'\u2af8', u'\u2af9': u'\u2afa', - u'\u2e02': u'\u2e03', u'\u2e04': u'\u2e05', u'\u2e09': u'\u2e0a', - u'\u2e0c': u'\u2e0d', u'\u2e1c': u'\u2e1d', u'\u2e20': u'\u2e21', - u'\u3008': u'\u3009', u'\u300a': u'\u300b', u'\u300c': u'\u300d', - u'\u300e': u'\u300f', u'\u3010': u'\u3011', u'\u3014': u'\u3015', - u'\u3016': u'\u3017', u'\u3018': u'\u3019', u'\u301a': u'\u301b', - u'\u301d': u'\u301e', u'\ufd3e': u'\ufd3f', u'\ufe17': u'\ufe18', - u'\ufe35': u'\ufe36', u'\ufe37': u'\ufe38', u'\ufe39': u'\ufe3a', - u'\ufe3b': u'\ufe3c', u'\ufe3d': u'\ufe3e', u'\ufe3f': u'\ufe40', - u'\ufe41': u'\ufe42', u'\ufe43': u'\ufe44', u'\ufe47': u'\ufe48', - u'\ufe59': u'\ufe5a', u'\ufe5b': u'\ufe5c', u'\ufe5d': u'\ufe5e', - u'\uff08': u'\uff09', u'\uff1c': u'\uff1e', u'\uff3b': u'\uff3d', - u'\uff5b': u'\uff5d', u'\uff5f': u'\uff60', u'\uff62': u'\uff63', + '\u0028': '\u0029', '\u003c': '\u003e', '\u005b': '\u005d', + '\u007b': '\u007d', '\u00ab': '\u00bb', '\u0f3a': '\u0f3b', + '\u0f3c': '\u0f3d', '\u169b': '\u169c', '\u2018': '\u2019', + '\u201a': '\u2019', '\u201b': '\u2019', '\u201c': '\u201d', + '\u201e': '\u201d', '\u201f': '\u201d', '\u2039': '\u203a', + '\u2045': '\u2046', '\u207d': '\u207e', '\u208d': '\u208e', + '\u2208': '\u220b', '\u2209': '\u220c', '\u220a': '\u220d', + '\u2215': '\u29f5', '\u223c': '\u223d', '\u2243': '\u22cd', + '\u2252': '\u2253', '\u2254': '\u2255', '\u2264': '\u2265', + '\u2266': '\u2267', '\u2268': '\u2269', '\u226a': '\u226b', + '\u226e': '\u226f', '\u2270': '\u2271', '\u2272': '\u2273', + '\u2274': '\u2275', '\u2276': '\u2277', '\u2278': '\u2279', + '\u227a': '\u227b', '\u227c': '\u227d', '\u227e': '\u227f', + '\u2280': '\u2281', '\u2282': '\u2283', '\u2284': '\u2285', + '\u2286': '\u2287', '\u2288': '\u2289', '\u228a': '\u228b', + '\u228f': '\u2290', '\u2291': '\u2292', '\u2298': '\u29b8', + '\u22a2': '\u22a3', '\u22a6': '\u2ade', '\u22a8': '\u2ae4', + '\u22a9': '\u2ae3', '\u22ab': '\u2ae5', '\u22b0': '\u22b1', + '\u22b2': '\u22b3', '\u22b4': '\u22b5', '\u22b6': '\u22b7', + '\u22c9': '\u22ca', '\u22cb': '\u22cc', '\u22d0': '\u22d1', + '\u22d6': '\u22d7', '\u22d8': '\u22d9', '\u22da': '\u22db', + '\u22dc': '\u22dd', '\u22de': '\u22df', '\u22e0': '\u22e1', + '\u22e2': '\u22e3', '\u22e4': '\u22e5', '\u22e6': '\u22e7', + '\u22e8': '\u22e9', '\u22ea': '\u22eb', '\u22ec': '\u22ed', + '\u22f0': '\u22f1', '\u22f2': '\u22fa', '\u22f3': '\u22fb', + '\u22f4': '\u22fc', '\u22f6': '\u22fd', '\u22f7': '\u22fe', + '\u2308': '\u2309', '\u230a': '\u230b', '\u2329': '\u232a', + '\u23b4': '\u23b5', '\u2768': '\u2769', '\u276a': '\u276b', + '\u276c': '\u276d', '\u276e': '\u276f', '\u2770': '\u2771', + '\u2772': '\u2773', '\u2774': '\u2775', '\u27c3': '\u27c4', + '\u27c5': '\u27c6', '\u27d5': '\u27d6', '\u27dd': '\u27de', + '\u27e2': '\u27e3', '\u27e4': '\u27e5', '\u27e6': '\u27e7', + '\u27e8': '\u27e9', '\u27ea': '\u27eb', '\u2983': '\u2984', + '\u2985': '\u2986', '\u2987': '\u2988', '\u2989': '\u298a', + '\u298b': '\u298c', '\u298d': '\u298e', '\u298f': '\u2990', + '\u2991': '\u2992', '\u2993': '\u2994', '\u2995': '\u2996', + '\u2997': '\u2998', '\u29c0': '\u29c1', '\u29c4': '\u29c5', + '\u29cf': '\u29d0', '\u29d1': '\u29d2', '\u29d4': '\u29d5', + '\u29d8': '\u29d9', '\u29da': '\u29db', '\u29f8': '\u29f9', + '\u29fc': '\u29fd', '\u2a2b': '\u2a2c', '\u2a2d': '\u2a2e', + '\u2a34': '\u2a35', '\u2a3c': '\u2a3d', '\u2a64': '\u2a65', + '\u2a79': '\u2a7a', '\u2a7d': '\u2a7e', '\u2a7f': '\u2a80', + '\u2a81': '\u2a82', '\u2a83': '\u2a84', '\u2a8b': '\u2a8c', + '\u2a91': '\u2a92', '\u2a93': '\u2a94', '\u2a95': '\u2a96', + '\u2a97': '\u2a98', '\u2a99': '\u2a9a', '\u2a9b': '\u2a9c', + '\u2aa1': '\u2aa2', '\u2aa6': '\u2aa7', '\u2aa8': '\u2aa9', + '\u2aaa': '\u2aab', '\u2aac': '\u2aad', '\u2aaf': '\u2ab0', + '\u2ab3': '\u2ab4', '\u2abb': '\u2abc', '\u2abd': '\u2abe', + '\u2abf': '\u2ac0', '\u2ac1': '\u2ac2', '\u2ac3': '\u2ac4', + '\u2ac5': '\u2ac6', '\u2acd': '\u2ace', '\u2acf': '\u2ad0', + '\u2ad1': '\u2ad2', '\u2ad3': '\u2ad4', '\u2ad5': '\u2ad6', + '\u2aec': '\u2aed', '\u2af7': '\u2af8', '\u2af9': '\u2afa', + '\u2e02': '\u2e03', '\u2e04': '\u2e05', '\u2e09': '\u2e0a', + '\u2e0c': '\u2e0d', '\u2e1c': '\u2e1d', '\u2e20': '\u2e21', + '\u3008': '\u3009', '\u300a': '\u300b', '\u300c': '\u300d', + '\u300e': '\u300f', '\u3010': '\u3011', '\u3014': '\u3015', + '\u3016': '\u3017', '\u3018': '\u3019', '\u301a': '\u301b', + '\u301d': '\u301e', '\ufd3e': '\ufd3f', '\ufe17': '\ufe18', + '\ufe35': '\ufe36', '\ufe37': '\ufe38', '\ufe39': '\ufe3a', + '\ufe3b': '\ufe3c', '\ufe3d': '\ufe3e', '\ufe3f': '\ufe40', + '\ufe41': '\ufe42', '\ufe43': '\ufe44', '\ufe47': '\ufe48', + '\ufe59': '\ufe5a', '\ufe5b': '\ufe5c', '\ufe5d': '\ufe5e', + '\uff08': '\uff09', '\uff1c': '\uff1e', '\uff3b': '\uff3d', + '\uff5b': '\uff5d', '\uff5f': '\uff60', '\uff62': '\uff63', } def _build_word_match(words, boundary_regex_fragment=None, prefix='', suffix=''): @@ -602,11 +602,11 @@ class Perl6Lexer(ExtendedRegexLexer): Name.Builtin), (_build_word_match(PERL6_BUILTINS, PERL6_IDENTIFIER_RANGE), Name.Builtin), # copied from PerlLexer - (r'[$@%&][.^:?=!~]?' + PERL6_IDENTIFIER_RANGE + u'+(?:<<.*?>>|<.*?>|«.*?»)*', + (r'[$@%&][.^:?=!~]?' + PERL6_IDENTIFIER_RANGE + '+(?:<<.*?>>|<.*?>|«.*?»)*', Name.Variable), (r'\$[!/](?:<<.*?>>|<.*?>|«.*?»)*', Name.Variable.Global), (r'::\?\w+', Name.Variable.Global), - (r'[$@%&]\*' + PERL6_IDENTIFIER_RANGE + u'+(?:<<.*?>>|<.*?>|«.*?»)*', + (r'[$@%&]\*' + PERL6_IDENTIFIER_RANGE + '+(?:<<.*?>>|<.*?>|«.*?»)*', Name.Variable.Global), (r'\$(?:<.*?>)+', Name.Variable), (r'(?:q|qq|Q)[a-zA-Z]?\s*(?P<adverbs>:[\w\s:]+)?\s*(?P<delimiter>(?P<first_char>[^0-9a-zA-Z:\s])' diff --git a/pygments/lexers/php.py b/pygments/lexers/php.py index 2bad339a..aab502e2 100644 --- a/pygments/lexers/php.py +++ b/pygments/lexers/php.py @@ -116,13 +116,13 @@ class PsyshConsoleLexer(Lexer): insertions = [] for match in line_re.finditer(text): line = match.group() - if line.startswith(u'>>> ') or line.startswith(u'... '): + if line.startswith('>>> ') or line.startswith('... '): insertions.append((len(curcode), [(0, Generic.Prompt, line[:4])])) curcode += line[4:] - elif line.rstrip() == u'...': + elif line.rstrip() == '...': insertions.append((len(curcode), - [(0, Generic.Prompt, u'...')])) + [(0, Generic.Prompt, '...')])) curcode += line[3:] else: if curcode: diff --git a/pygments/lexers/prolog.py b/pygments/lexers/prolog.py index 40ef0df3..94f4024c 100644 --- a/pygments/lexers/prolog.py +++ b/pygments/lexers/prolog.py @@ -55,22 +55,22 @@ class PrologLexer(RegexLexer): (r'(mod|div|not)\b', Operator), (r'_', Keyword), # The don't-care variable (r'([a-z]+)(:)', bygroups(Name.Namespace, Punctuation)), - (u'([a-z\u00c0-\u1fff\u3040-\ud7ff\ue000-\uffef]' - u'[\\w$\u00c0-\u1fff\u3040-\ud7ff\ue000-\uffef]*)' - u'(\\s*)(:-|-->)', + (r'([a-z\u00c0-\u1fff\u3040-\ud7ff\ue000-\uffef]' + r'[\w$\u00c0-\u1fff\u3040-\ud7ff\ue000-\uffef]*)' + r'(\s*)(:-|-->)', bygroups(Name.Function, Text, Operator)), # function defn - (u'([a-z\u00c0-\u1fff\u3040-\ud7ff\ue000-\uffef]' - u'[\\w$\u00c0-\u1fff\u3040-\ud7ff\ue000-\uffef]*)' - u'(\\s*)(\\()', + (r'([a-z\u00c0-\u1fff\u3040-\ud7ff\ue000-\uffef]' + r'[\w$\u00c0-\u1fff\u3040-\ud7ff\ue000-\uffef]*)' + r'(\s*)(\()', bygroups(Name.Function, Text, Punctuation)), - (u'[a-z\u00c0-\u1fff\u3040-\ud7ff\ue000-\uffef]' - u'[\\w$\u00c0-\u1fff\u3040-\ud7ff\ue000-\uffef]*', + (r'[a-z\u00c0-\u1fff\u3040-\ud7ff\ue000-\uffef]' + r'[\w$\u00c0-\u1fff\u3040-\ud7ff\ue000-\uffef]*', String.Atom), # atom, characters # This one includes ! - (u'[#&*+\\-./:<=>?@\\\\^~\u00a1-\u00bf\u2010-\u303f]+', + (r'[#&*+\-./:<=>?@\\^~\u00a1-\u00bf\u2010-\u303f]+', String.Atom), # atom, graphics (r'[A-Z_]\w*', Name.Variable), - (u'\\s+|[\u2000-\u200f\ufff0-\ufffe\uffef]', Text), + (r'\s+|[\u2000-\u200f\ufff0-\ufffe\uffef]', Text), ], 'nested-comment': [ (r'\*/', Comment.Multiline, '#pop'), diff --git a/pygments/lexers/python.py b/pygments/lexers/python.py index 22d21430..10157999 100644 --- a/pygments/lexers/python.py +++ b/pygments/lexers/python.py @@ -646,17 +646,17 @@ class PythonConsoleLexer(Lexer): tb = 0 for match in line_re.finditer(text): line = match.group() - if line.startswith(u'>>> ') or line.startswith(u'... '): + if line.startswith('>>> ') or line.startswith('... '): tb = 0 insertions.append((len(curcode), [(0, Generic.Prompt, line[:4])])) curcode += line[4:] - elif line.rstrip() == u'...' and not tb: + elif line.rstrip() == '...' and not tb: # only a new >>> prompt can end an exception block # otherwise an ellipsis in place of the traceback frames # will be mishandled insertions.append((len(curcode), - [(0, Generic.Prompt, u'...')])) + [(0, Generic.Prompt, '...')])) curcode += line[3:] else: if curcode: @@ -664,8 +664,8 @@ class PythonConsoleLexer(Lexer): insertions, pylexer.get_tokens_unprocessed(curcode)) curcode = '' insertions = [] - if (line.startswith(u'Traceback (most recent call last):') or - re.match(u' File "[^"]+", line \\d+\\n$', line)): + if (line.startswith('Traceback (most recent call last):') or + re.match(' File "[^"]+", line \\d+\\n$', line)): tb = 1 curtb = line tbindex = match.start() @@ -673,7 +673,7 @@ class PythonConsoleLexer(Lexer): yield match.start(), Name.Class, line elif tb: curtb += line - if not (line.startswith(' ') or line.strip() == u'...'): + if not (line.startswith(' ') or line.strip() == '...'): tb = 0 for i, t, v in tblexer.get_tokens_unprocessed(curtb): yield tbindex+i, t, v diff --git a/pygments/lexers/qvt.py b/pygments/lexers/qvt.py index 515d7270..680d3fb8 100644 --- a/pygments/lexers/qvt.py +++ b/pygments/lexers/qvt.py @@ -18,7 +18,7 @@ __all__ = ['QVToLexer'] class QVToLexer(RegexLexer): - u""" + """ For the `QVT Operational Mapping language <http://www.omg.org/spec/QVT/1.1/>`_. Reference for implementing this: «Meta Object Facility (MOF) 2.0 diff --git a/pygments/lexers/rdf.py b/pygments/lexers/rdf.py index 8bbd4b0c..136850bd 100644 --- a/pygments/lexers/rdf.py +++ b/pygments/lexers/rdf.py @@ -31,27 +31,27 @@ class SparqlLexer(RegexLexer): # character group definitions :: - PN_CHARS_BASE_GRP = (u'a-zA-Z' - u'\u00c0-\u00d6' - u'\u00d8-\u00f6' - u'\u00f8-\u02ff' - u'\u0370-\u037d' - u'\u037f-\u1fff' - u'\u200c-\u200d' - u'\u2070-\u218f' - u'\u2c00-\u2fef' - u'\u3001-\ud7ff' - u'\uf900-\ufdcf' - u'\ufdf0-\ufffd') + PN_CHARS_BASE_GRP = ('a-zA-Z' + '\u00c0-\u00d6' + '\u00d8-\u00f6' + '\u00f8-\u02ff' + '\u0370-\u037d' + '\u037f-\u1fff' + '\u200c-\u200d' + '\u2070-\u218f' + '\u2c00-\u2fef' + '\u3001-\ud7ff' + '\uf900-\ufdcf' + '\ufdf0-\ufffd') PN_CHARS_U_GRP = (PN_CHARS_BASE_GRP + '_') PN_CHARS_GRP = (PN_CHARS_U_GRP + r'\-' + r'0-9' + - u'\u00b7' + - u'\u0300-\u036f' + - u'\u203f-\u2040') + '\u00b7' + + '\u0300-\u036f' + + '\u203f-\u2040') HEX_GRP = '0-9A-Fa-f' @@ -76,8 +76,8 @@ class SparqlLexer(RegexLexer): PN_PREFIX = PN_CHARS_BASE + '(?:[' + PN_CHARS_GRP + '.]*' + PN_CHARS + ')?' - VARNAME = u'[0-9' + PN_CHARS_U_GRP + '][' + PN_CHARS_U_GRP + \ - u'0-9\u00b7\u0300-\u036f\u203f-\u2040]*' + VARNAME = '[0-9' + PN_CHARS_U_GRP + '][' + PN_CHARS_U_GRP + \ + '0-9\u00b7\u0300-\u036f\u203f-\u2040]*' PERCENT = '%' + HEX + HEX @@ -288,27 +288,27 @@ class ShExCLexer(RegexLexer): # character group definitions :: - PN_CHARS_BASE_GRP = (u'a-zA-Z' - u'\u00c0-\u00d6' - u'\u00d8-\u00f6' - u'\u00f8-\u02ff' - u'\u0370-\u037d' - u'\u037f-\u1fff' - u'\u200c-\u200d' - u'\u2070-\u218f' - u'\u2c00-\u2fef' - u'\u3001-\ud7ff' - u'\uf900-\ufdcf' - u'\ufdf0-\ufffd') + PN_CHARS_BASE_GRP = ('a-zA-Z' + '\u00c0-\u00d6' + '\u00d8-\u00f6' + '\u00f8-\u02ff' + '\u0370-\u037d' + '\u037f-\u1fff' + '\u200c-\u200d' + '\u2070-\u218f' + '\u2c00-\u2fef' + '\u3001-\ud7ff' + '\uf900-\ufdcf' + '\ufdf0-\ufffd') PN_CHARS_U_GRP = (PN_CHARS_BASE_GRP + '_') PN_CHARS_GRP = (PN_CHARS_U_GRP + r'\-' + r'0-9' + - u'\u00b7' + - u'\u0300-\u036f' + - u'\u203f-\u2040') + '\u00b7' + + '\u0300-\u036f' + + '\u203f-\u2040') HEX_GRP = '0-9A-Fa-f' diff --git a/pygments/lexers/scripting.py b/pygments/lexers/scripting.py index 843cddfc..50f47681 100644 --- a/pygments/lexers/scripting.py +++ b/pygments/lexers/scripting.py @@ -157,7 +157,7 @@ class LuaLexer(RegexLexer): elif '.' in value: a, b = value.split('.') yield index, Name, a - yield index + len(a), Punctuation, u'.' + yield index + len(a), Punctuation, '.' yield index + len(a) + 1, Name, b continue yield index, token, value @@ -659,18 +659,18 @@ class AppleScriptLexer(RegexLexer): tokens = { 'root': [ (r'\s+', Text), - (u'¬\\n', String.Escape), + (r'¬\n', String.Escape), (r"'s\s+", Text), # This is a possessive, consider moving (r'(--|#).*?$', Comment), (r'\(\*', Comment.Multiline, 'comment'), (r'[(){}!,.:]', Punctuation), - (u'(«)([^»]+)(»)', + (r'(«)([^»]+)(»)', bygroups(Text, Name.Builtin, Text)), (r'\b((?:considering|ignoring)\s*)' r'(application responses|case|diacriticals|hyphens|' r'numeric strings|punctuation|white space)', bygroups(Keyword, Name.Builtin)), - (u'(-|\\*|\\+|&|≠|>=?|<=?|=|≥|≤|/|÷|\\^)', Operator), + (r'(-|\*|\+|&|≠|>=?|<=?|=|≥|≤|/|÷|\^)', Operator), (r"\b(%s)\b" % '|'.join(Operators), Operator.Word), (r'^(\s*(?:on|end)\s+)' r'(%s)' % '|'.join(StudioEvents[::-1]), @@ -976,7 +976,7 @@ class EasytrieveLexer(RegexLexer): _DELIMITER_PATTERN = '[' + _DELIMITERS + ']' _DELIMITER_PATTERN_CAPTURE = '(' + _DELIMITER_PATTERN + ')' _NON_DELIMITER_OR_COMMENT_PATTERN = '[^' + _DELIMITERS_OR_COMENT + ']' - _OPERATORS_PATTERN = u'[.+\\-/=\\[\\](){}<>;,&%¬]' + _OPERATORS_PATTERN = '[.+\\-/=\\[\\](){}<>;,&%¬]' _KEYWORDS = [ 'AFTER-BREAK', 'AFTER-LINE', 'AFTER-SCREEN', 'AIM', 'AND', 'ATTR', 'BEFORE', 'BEFORE-BREAK', 'BEFORE-LINE', 'BEFORE-SCREEN', 'BUSHU', diff --git a/pygments/lexers/slash.py b/pygments/lexers/slash.py index 8c9d53d2..84e1d2e6 100644 --- a/pygments/lexers/slash.py +++ b/pygments/lexers/slash.py @@ -26,7 +26,7 @@ class SlashLanguageLexer(ExtendedRegexLexer): def right_angle_bracket(lexer, match, ctx): if len(ctx.stack) > 1 and ctx.stack[-2] == "string": ctx.stack.pop() - yield match.start(), String.Interpol, u"}" + yield match.start(), String.Interpol, '}' ctx.pos = match.end() pass diff --git a/pygments/lexers/testing.py b/pygments/lexers/testing.py index 914bc1ec..919cc774 100644 --- a/pygments/lexers/testing.py +++ b/pygments/lexers/testing.py @@ -26,10 +26,10 @@ class GherkinLexer(RegexLexer): filenames = ['*.feature'] mimetypes = ['text/x-gherkin'] - feature_keywords = u'^(기능|機能|功能|フィーチャ|خاصية|תכונה|Функціонал|Функционалност|Функционал|Фича|Особина|Могућност|Özellik|Właściwość|Tính năng|Trajto|Savybė|Požiadavka|Požadavek|Osobina|Ominaisuus|Omadus|OH HAI|Mogućnost|Mogucnost|Jellemző|Fīča|Funzionalità|Funktionalität|Funkcionalnost|Funkcionalitāte|Funcționalitate|Functionaliteit|Functionalitate|Funcionalitat|Funcionalidade|Fonctionnalité|Fitur|Feature|Egenskap|Egenskab|Crikey|Característica|Arwedd)(:)(.*)$' - feature_element_keywords = u'^(\\s*)(시나리오 개요|시나리오|배경|背景|場景大綱|場景|场景大纲|场景|劇本大綱|劇本|剧本大纲|剧本|テンプレ|シナリオテンプレート|シナリオテンプレ|シナリオアウトライン|シナリオ|سيناريو مخطط|سيناريو|الخلفية|תרחיש|תבנית תרחיש|רקע|Тарих|Сценарій|Сценарио|Сценарий структураси|Сценарий|Структура сценарію|Структура сценарија|Структура сценария|Скица|Рамка на сценарий|Пример|Предыстория|Предистория|Позадина|Передумова|Основа|Концепт|Контекст|Założenia|Wharrimean is|Tình huống|The thing of it is|Tausta|Taust|Tapausaihio|Tapaus|Szenariogrundriss|Szenario|Szablon scenariusza|Stsenaarium|Struktura scenarija|Skica|Skenario konsep|Skenario|Situācija|Senaryo taslağı|Senaryo|Scénář|Scénario|Schema dello scenario|Scenārijs pēc parauga|Scenārijs|Scenár|Scenaro|Scenariusz|Scenariul de şablon|Scenariul de sablon|Scenariu|Scenario Outline|Scenario Amlinellol|Scenario|Scenarijus|Scenarijaus šablonas|Scenarij|Scenarie|Rerefons|Raamstsenaarium|Primer|Pozadí|Pozadina|Pozadie|Plan du scénario|Plan du Scénario|Osnova scénáře|Osnova|Náčrt Scénáře|Náčrt Scenáru|Mate|MISHUN SRSLY|MISHUN|Kịch bản|Konturo de la scenaro|Kontext|Konteksts|Kontekstas|Kontekst|Koncept|Khung tình huống|Khung kịch bản|Háttér|Grundlage|Geçmiş|Forgatókönyv vázlat|Forgatókönyv|Fono|Esquema do Cenário|Esquema do Cenario|Esquema del escenario|Esquema de l\'escenari|Escenario|Escenari|Dis is what went down|Dasar|Contexto|Contexte|Contesto|Condiţii|Conditii|Cenário|Cenario|Cefndir|Bối cảnh|Blokes|Bakgrunn|Bakgrund|Baggrund|Background|B4|Antecedents|Antecedentes|All y\'all|Achtergrond|Abstrakt Scenario|Abstract Scenario)(:)(.*)$' - examples_keywords = u'^(\\s*)(예|例子|例|サンプル|امثلة|דוגמאות|Сценарији|Примери|Приклади|Мисоллар|Значения|Örnekler|Voorbeelden|Variantai|Tapaukset|Scenarios|Scenariji|Scenarijai|Příklady|Példák|Príklady|Przykłady|Primjeri|Primeri|Piemēri|Pavyzdžiai|Paraugs|Juhtumid|Exemplos|Exemples|Exemplele|Exempel|Examples|Esempi|Enghreifftiau|Ekzemploj|Eksempler|Ejemplos|EXAMPLZ|Dữ liệu|Contoh|Cobber|Beispiele)(:)(.*)$' - step_keywords = u'^(\\s*)(하지만|조건|먼저|만일|만약|단|그리고|그러면|那麼|那么|而且|當|当|前提|假設|假设|假如|假定|但是|但し|並且|并且|同時|同时|もし|ならば|ただし|しかし|かつ|و |متى |لكن |عندما |ثم |بفرض |اذاً |כאשר |וגם |בהינתן |אזי |אז |אבל |Якщо |Унда |То |Припустимо, що |Припустимо |Онда |Но |Нехай |Лекин |Когато |Када |Кад |К тому же |И |Задато |Задати |Задате |Если |Допустим |Дадено |Ва |Бирок |Аммо |Али |Але |Агар |А |І |Și |És |Zatati |Zakładając |Zadato |Zadate |Zadano |Zadani |Zadan |Youse know when youse got |Youse know like when |Yna |Ya know how |Ya gotta |Y |Wun |Wtedy |When y\'all |When |Wenn |WEN |Và |Ve |Und |Un |Thì |Then y\'all |Then |Tapi |Tak |Tada |Tad |Så |Stel |Soit |Siis |Si |Sed |Se |Quando |Quand |Quan |Pryd |Pokud |Pokiaľ |Però |Pero |Pak |Oraz |Onda |Ond |Oletetaan |Og |Och |O zaman |Når |När |Niin |Nhưng |N |Mutta |Men |Mas |Maka |Majd |Mais |Maar |Ma |Lorsque |Lorsqu\'|Kun |Kuid |Kui |Khi |Keď |Ketika |Když |Kaj |Kai |Kada |Kad |Jeżeli |Ja |Ir |I CAN HAZ |I |Ha |Givun |Givet |Given y\'all |Given |Gitt |Gegeven |Gegeben sei |Fakat |Eğer ki |Etant donné |Et |Então |Entonces |Entao |En |Eeldades |E |Duota |Dun |Donitaĵo |Donat |Donada |Do |Diyelim ki |Dengan |Den youse gotta |De |Dato |Dar |Dann |Dan |Dado |Dacă |Daca |DEN |Când |Cuando |Cho |Cept |Cand |Cal |But y\'all |But |Buh |Biết |Bet |BUT |Atès |Atunci |Atesa |Anrhegedig a |Angenommen |And y\'all |And |An |Ama |Als |Alors |Allora |Ali |Aleshores |Ale |Akkor |Aber |AN |A také |A |\\* )' + feature_keywords = '^(기능|機能|功能|フィーチャ|خاصية|תכונה|Функціонал|Функционалност|Функционал|Фича|Особина|Могућност|Özellik|Właściwość|Tính năng|Trajto|Savybė|Požiadavka|Požadavek|Osobina|Ominaisuus|Omadus|OH HAI|Mogućnost|Mogucnost|Jellemző|Fīča|Funzionalità|Funktionalität|Funkcionalnost|Funkcionalitāte|Funcționalitate|Functionaliteit|Functionalitate|Funcionalitat|Funcionalidade|Fonctionnalité|Fitur|Feature|Egenskap|Egenskab|Crikey|Característica|Arwedd)(:)(.*)$' + feature_element_keywords = '^(\\s*)(시나리오 개요|시나리오|배경|背景|場景大綱|場景|场景大纲|场景|劇本大綱|劇本|剧本大纲|剧本|テンプレ|シナリオテンプレート|シナリオテンプレ|シナリオアウトライン|シナリオ|سيناريو مخطط|سيناريو|الخلفية|תרחיש|תבנית תרחיש|רקע|Тарих|Сценарій|Сценарио|Сценарий структураси|Сценарий|Структура сценарію|Структура сценарија|Структура сценария|Скица|Рамка на сценарий|Пример|Предыстория|Предистория|Позадина|Передумова|Основа|Концепт|Контекст|Założenia|Wharrimean is|Tình huống|The thing of it is|Tausta|Taust|Tapausaihio|Tapaus|Szenariogrundriss|Szenario|Szablon scenariusza|Stsenaarium|Struktura scenarija|Skica|Skenario konsep|Skenario|Situācija|Senaryo taslağı|Senaryo|Scénář|Scénario|Schema dello scenario|Scenārijs pēc parauga|Scenārijs|Scenár|Scenaro|Scenariusz|Scenariul de şablon|Scenariul de sablon|Scenariu|Scenario Outline|Scenario Amlinellol|Scenario|Scenarijus|Scenarijaus šablonas|Scenarij|Scenarie|Rerefons|Raamstsenaarium|Primer|Pozadí|Pozadina|Pozadie|Plan du scénario|Plan du Scénario|Osnova scénáře|Osnova|Náčrt Scénáře|Náčrt Scenáru|Mate|MISHUN SRSLY|MISHUN|Kịch bản|Konturo de la scenaro|Kontext|Konteksts|Kontekstas|Kontekst|Koncept|Khung tình huống|Khung kịch bản|Háttér|Grundlage|Geçmiş|Forgatókönyv vázlat|Forgatókönyv|Fono|Esquema do Cenário|Esquema do Cenario|Esquema del escenario|Esquema de l\'escenari|Escenario|Escenari|Dis is what went down|Dasar|Contexto|Contexte|Contesto|Condiţii|Conditii|Cenário|Cenario|Cefndir|Bối cảnh|Blokes|Bakgrunn|Bakgrund|Baggrund|Background|B4|Antecedents|Antecedentes|All y\'all|Achtergrond|Abstrakt Scenario|Abstract Scenario)(:)(.*)$' + examples_keywords = '^(\\s*)(예|例子|例|サンプル|امثلة|דוגמאות|Сценарији|Примери|Приклади|Мисоллар|Значения|Örnekler|Voorbeelden|Variantai|Tapaukset|Scenarios|Scenariji|Scenarijai|Příklady|Példák|Príklady|Przykłady|Primjeri|Primeri|Piemēri|Pavyzdžiai|Paraugs|Juhtumid|Exemplos|Exemples|Exemplele|Exempel|Examples|Esempi|Enghreifftiau|Ekzemploj|Eksempler|Ejemplos|EXAMPLZ|Dữ liệu|Contoh|Cobber|Beispiele)(:)(.*)$' + step_keywords = '^(\\s*)(하지만|조건|먼저|만일|만약|단|그리고|그러면|那麼|那么|而且|當|当|前提|假設|假设|假如|假定|但是|但し|並且|并且|同時|同时|もし|ならば|ただし|しかし|かつ|و |متى |لكن |عندما |ثم |بفرض |اذاً |כאשר |וגם |בהינתן |אזי |אז |אבל |Якщо |Унда |То |Припустимо, що |Припустимо |Онда |Но |Нехай |Лекин |Когато |Када |Кад |К тому же |И |Задато |Задати |Задате |Если |Допустим |Дадено |Ва |Бирок |Аммо |Али |Але |Агар |А |І |Și |És |Zatati |Zakładając |Zadato |Zadate |Zadano |Zadani |Zadan |Youse know when youse got |Youse know like when |Yna |Ya know how |Ya gotta |Y |Wun |Wtedy |When y\'all |When |Wenn |WEN |Và |Ve |Und |Un |Thì |Then y\'all |Then |Tapi |Tak |Tada |Tad |Så |Stel |Soit |Siis |Si |Sed |Se |Quando |Quand |Quan |Pryd |Pokud |Pokiaľ |Però |Pero |Pak |Oraz |Onda |Ond |Oletetaan |Og |Och |O zaman |Når |När |Niin |Nhưng |N |Mutta |Men |Mas |Maka |Majd |Mais |Maar |Ma |Lorsque |Lorsqu\'|Kun |Kuid |Kui |Khi |Keď |Ketika |Když |Kaj |Kai |Kada |Kad |Jeżeli |Ja |Ir |I CAN HAZ |I |Ha |Givun |Givet |Given y\'all |Given |Gitt |Gegeven |Gegeben sei |Fakat |Eğer ki |Etant donné |Et |Então |Entonces |Entao |En |Eeldades |E |Duota |Dun |Donitaĵo |Donat |Donada |Do |Diyelim ki |Dengan |Den youse gotta |De |Dato |Dar |Dann |Dan |Dado |Dacă |Daca |DEN |Când |Cuando |Cho |Cept |Cand |Cal |But y\'all |But |Buh |Biết |Bet |BUT |Atès |Atunci |Atesa |Anrhegedig a |Angenommen |And y\'all |And |An |Ama |Als |Alors |Allora |Ali |Aleshores |Ale |Akkor |Aber |AN |A také |A |\\* )' tokens = { 'comments': [ diff --git a/pygments/lexers/theorem.py b/pygments/lexers/theorem.py index fd34de2c..c4c857d4 100644 --- a/pygments/lexers/theorem.py +++ b/pygments/lexers/theorem.py @@ -93,7 +93,7 @@ class CoqLexer(RegexLexer): '<->', '=', '>', '>]', r'>\}', r'\?', r'\?\?', r'\[', r'\[<', r'\[>', r'\[\|', ']', '_', '`', r'\{', r'\{<', r'\|', r'\|]', r'\}', '~', '=>', r'/\\', r'\\/', r'\{\|', r'\|\}', - u'Π', u'λ', + 'Π', 'λ', ) operators = r'[!$%&*+\./:<=>?@^|~-]' prefix_syms = r'[!?~]' @@ -440,11 +440,11 @@ class LeanLexer(RegexLexer): '#print', '#help', ), suffix=r'\b'), Keyword), (words(( - '(', ')', ':', '{', '}', '[', ']', u'⟨', u'⟩', u'‹', u'›', u'⦃', u'⦄', ':=', ',', + '(', ')', ':', '{', '}', '[', ']', '⟨', '⟩', '‹', '›', '⦃', '⦄', ':=', ',', )), Operator), - (u"[A-Za-z_\u03b1-\u03ba\u03bc-\u03fb\u1f00-\u1ffe\u2100-\u214f]" - u"[.A-Za-z_'\u03b1-\u03ba\u03bc-\u03fb\u1f00-\u1ffe\u2070-\u2079" - u"\u207f-\u2089\u2090-\u209c\u2100-\u214f0-9]*", Name), + (r'[A-Za-z_\u03b1-\u03ba\u03bc-\u03fb\u1f00-\u1ffe\u2100-\u214f]' + r'[.A-Za-z_\'\u03b1-\u03ba\u03bc-\u03fb\u1f00-\u1ffe\u2070-\u2079' + r'\u207f-\u2089\u2090-\u209c\u2100-\u214f0-9]*', Name), (r'0x[A-Za-z0-9]+', Number.Integer), (r'0b[01]+', Number.Integer), (r'\d+', Number.Integer), diff --git a/pygments/lexers/webmisc.py b/pygments/lexers/webmisc.py index 84ba490c..dab36aa6 100644 --- a/pygments/lexers/webmisc.py +++ b/pygments/lexers/webmisc.py @@ -15,7 +15,6 @@ from pygments.lexer import RegexLexer, ExtendedRegexLexer, include, bygroups, \ default, using from pygments.token import Text, Comment, Operator, Keyword, Name, String, \ Number, Punctuation, Literal -from pygments.util import unirange from pygments.lexers.css import _indentation, _starts_block from pygments.lexers.html import HtmlLexer @@ -74,15 +73,15 @@ class XQueryLexer(ExtendedRegexLexer): # FIX UNICODE LATER # ncnamestartchar = ( - # ur"[A-Z]|_|[a-z]|[\u00C0-\u00D6]|[\u00D8-\u00F6]|[\u00F8-\u02FF]|" - # ur"[\u0370-\u037D]|[\u037F-\u1FFF]|[\u200C-\u200D]|[\u2070-\u218F]|" - # ur"[\u2C00-\u2FEF]|[\u3001-\uD7FF]|[\uF900-\uFDCF]|[\uFDF0-\uFFFD]|" - # ur"[\u10000-\uEFFFF]" + # r"[A-Z]|_|[a-z]|[\u00C0-\u00D6]|[\u00D8-\u00F6]|[\u00F8-\u02FF]|" + # r"[\u0370-\u037D]|[\u037F-\u1FFF]|[\u200C-\u200D]|[\u2070-\u218F]|" + # r"[\u2C00-\u2FEF]|[\u3001-\uD7FF]|[\uF900-\uFDCF]|[\uFDF0-\uFFFD]|" + # r"[\u10000-\uEFFFF]" # ) ncnamestartchar = r"(?:[A-Z]|_|[a-z])" # FIX UNICODE LATER - # ncnamechar = ncnamestartchar + (ur"|-|\.|[0-9]|\u00B7|[\u0300-\u036F]|" - # ur"[\u203F-\u2040]") + # ncnamechar = ncnamestartchar + (r"|-|\.|[0-9]|\u00B7|[\u0300-\u036F]|" + # r"[\u203F-\u2040]") ncnamechar = r"(?:" + ncnamestartchar + r"|-|\.|[0-9])" ncname = "(?:%s+%s*)" % (ncnamestartchar, ncnamechar) pitarget_namestartchar = r"(?:[A-KN-WYZ]|_|:|[a-kn-wyz])" @@ -99,14 +98,14 @@ class XQueryLexer(ExtendedRegexLexer): stringsingle = r"(?:'(?:" + entityref + r"|" + charref + r"|''|[^&'])*')" # FIX UNICODE LATER - # elementcontentchar = (ur'\t|\r|\n|[\u0020-\u0025]|[\u0028-\u003b]|' - # ur'[\u003d-\u007a]|\u007c|[\u007e-\u007F]') + # elementcontentchar = (r'\t|\r|\n|[\u0020-\u0025]|[\u0028-\u003b]|' + # r'[\u003d-\u007a]|\u007c|[\u007e-\u007F]') elementcontentchar = r'[A-Za-z]|\s|\d|[!"#$%()*+,\-./:;=?@\[\\\]^_\'`|~]' - # quotattrcontentchar = (ur'\t|\r|\n|[\u0020-\u0021]|[\u0023-\u0025]|' - # ur'[\u0027-\u003b]|[\u003d-\u007a]|\u007c|[\u007e-\u007F]') + # quotattrcontentchar = (r'\t|\r|\n|[\u0020-\u0021]|[\u0023-\u0025]|' + # r'[\u0027-\u003b]|[\u003d-\u007a]|\u007c|[\u007e-\u007F]') quotattrcontentchar = r'[A-Za-z]|\s|\d|[!#$%()*+,\-./:;=?@\[\\\]^_\'`|~]' - # aposattrcontentchar = (ur'\t|\r|\n|[\u0020-\u0025]|[\u0028-\u003b]|' - # ur'[\u003d-\u007a]|\u007c|[\u007e-\u007F]') + # aposattrcontentchar = (r'\t|\r|\n|[\u0020-\u0025]|[\u0028-\u003b]|' + # r'[\u003d-\u007a]|\u007c|[\u007e-\u007F]') aposattrcontentchar = r'[A-Za-z]|\s|\d|[!"#$%()*+,\-./:;=?@\[\\\]^_`|~]' # CHAR elements - fix the above elementcontentchar, quotattrcontentchar, @@ -518,8 +517,8 @@ class XQueryLexer(ExtendedRegexLexer): 'xml_comment': [ (r'(-->)', popstate_xmlcomment_callback), (r'[^-]{1,2}', Literal), - (u'\\t|\\r|\\n|[\u0020-\uD7FF]|[\uE000-\uFFFD]|' + - unirange(0x10000, 0x10ffff), Literal), + (r'\t|\r|\n|[\u0020-\uD7FF]|[\uE000-\uFFFD]|[\U00010000-\U0010FFFF]', + Literal), ], 'processing_instruction': [ (r'\s+', Text, 'processing_instruction_content'), @@ -528,13 +527,13 @@ class XQueryLexer(ExtendedRegexLexer): ], 'processing_instruction_content': [ (r'\?>', String.Doc, '#pop'), - (u'\\t|\\r|\\n|[\u0020-\uD7FF]|[\uE000-\uFFFD]|' + - unirange(0x10000, 0x10ffff), Literal), + (r'\t|\r|\n|[\u0020-\uD7FF]|[\uE000-\uFFFD]|[\U00010000-\U0010FFFF]', + Literal), ], 'cdata_section': [ (r']]>', String.Doc, '#pop'), - (u'\\t|\\r|\\n|[\u0020-\uD7FF]|[\uE000-\uFFFD]|' + - unirange(0x10000, 0x10ffff), Literal), + (r'\t|\r|\n|[\u0020-\uD7FF]|[\uE000-\uFFFD]|[\U00010000-\U0010FFFF]', + Literal), ], 'start_tag': [ include('whitespace'), @@ -603,8 +602,8 @@ class XQueryLexer(ExtendedRegexLexer): ], 'pragmacontents': [ (r'#\)', Punctuation, 'operator'), - (u'\\t|\\r|\\n|[\u0020-\uD7FF]|[\uE000-\uFFFD]|' + - unirange(0x10000, 0x10ffff), Literal), + (r'\t|\r|\n|[\u0020-\uD7FF]|[\uE000-\uFFFD]|[\U00010000-\U0010FFFF]', + Literal), (r'(\s+)', Text), ], 'occurrenceindicator': [ diff --git a/pygments/lexers/whiley.py b/pygments/lexers/whiley.py index 255e9d22..fad94e90 100644 --- a/pygments/lexers/whiley.py +++ b/pygments/lexers/whiley.py @@ -97,11 +97,11 @@ class WhileyLexer(RegexLexer): # operators and punctuation (r'[{}()\[\],.;]', Punctuation), - (u'[+\\-*/%&|<>^!~@=:?' + (r'[+\-*/%&|<>^!~@=:?' # unicode operators - u'\u2200\u2203\u2205\u2282\u2286\u2283\u2287' - u'\u222A\u2229\u2264\u2265\u2208\u2227\u2228' - u']', Operator), + r'\u2200\u2203\u2205\u2282\u2286\u2283\u2287' + r'\u222A\u2229\u2264\u2265\u2208\u2227\u2228' + r']', Operator), # identifier (r'[a-zA-Z_]\w*', Name), |