diff options
author | Tim Hatch <tim@timhatch.com> | 2014-05-16 14:20:32 -0700 |
---|---|---|
committer | Tim Hatch <tim@timhatch.com> | 2014-05-16 14:20:32 -0700 |
commit | 6c1b71840afd3abc6577452ed47c813290245491 (patch) | |
tree | d581a50109fca8122e92ed6dcfb63b5834462b07 /pygments/lexers/functional.py | |
parent | d961cec379aa5bba2102af3627002968aa2d0173 (diff) | |
parent | 45c6a7514c20a476ac20d5dd6979524b3c5232ea (diff) | |
download | pygments-6c1b71840afd3abc6577452ed47c813290245491.tar.gz |
Merged in jaingaurav2/pygments-main (pull request #357)
Numerous regexlint fixes
Diffstat (limited to 'pygments/lexers/functional.py')
-rw-r--r-- | pygments/lexers/functional.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pygments/lexers/functional.py b/pygments/lexers/functional.py index f15b268e..6d808f7e 100644 --- a/pygments/lexers/functional.py +++ b/pygments/lexers/functional.py @@ -851,10 +851,10 @@ class CommonLispLexer(RegexLexer): (r'#[oO][+-]?[0-7]+(/[0-7]+)?', Number.Oct), # hex rational - (r'#[xX][+-]?[0-9a-fA-F]+(/[0-9a-fA-F]+)?', Number.Hex), + (r'#[xX][+-]?[0-9a-f]+(/[0-9a-f]+)?', Number.Hex), # radix rational - (r'#\d+[rR][+-]?[0-9a-zA-Z]+(/[0-9a-zA-Z]+)?', Number), + (r'#\d+[rR][+-]?[0-9a-z]+(/[0-9a-z]+)?', Number), # complex (r'(#[cC])(\()', bygroups(Number, Punctuation), 'body'), @@ -1166,7 +1166,7 @@ class AgdaLexer(RegexLexer): (r'\b(Set|Prop)\b', Keyword.Type), # Special Symbols (r'(\(|\)|\{|\})', Operator), - (u'(\\.{1,3}|\\||[\u039B]|[\u2200]|[\u2192]|:|=|->)', Operator.Word), + (u'(\\.{1,3}|\\||\u039B|\u2200|\u2192|:|=|->)', Operator.Word), # Numbers (r'\d+[eE][+-]?\d+', Number.Float), (r'\d+\.\d+([eE][+-]?\d+)?', Number.Float), @@ -2682,7 +2682,7 @@ class ElixirLexer(RegexLexer): (r':"', String.Symbol, 'interpoling_symbol'), (r'\b(nil|true|false)\b(?![?!])|\b[A-Z]\w*\b', Name.Constant), (r'\b(__(FILE|LINE|MODULE|MAIN|FUNCTION)__)\b(?![?!])', Name.Builtin.Pseudo), - (r'[a-zA-Z_!][\w_]*[!\?]?', Name), + (r'[a-zA-Z_!]\w*[!\?]?', Name), (r'[(){};,/\|:\\\[\]]', Punctuation), (r'@[a-zA-Z_]\w*|&\d', Name.Variable), (r'\b(0[xX][0-9A-Fa-f]+|\d(_?\d)*(\.(?![^\d\s])' |