summaryrefslogtreecommitdiff
path: root/pygments/lexers/actionscript.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-11-06 13:36:41 +0100
committerGeorg Brandl <georg@python.org>2014-11-06 13:36:41 +0100
commit90fe03b0f663810f4b6718d89b5e830ec2c67960 (patch)
treed5b69099b513da0db10404445613a226a11c46eb /pygments/lexers/actionscript.py
parent01f13cc2e664ebab1815fbaca35f3815160a8d56 (diff)
downloadpygments-90fe03b0f663810f4b6718d89b5e830ec2c67960.tar.gz
Simplify charclasses in a few more modules
Diffstat (limited to 'pygments/lexers/actionscript.py')
-rw-r--r--pygments/lexers/actionscript.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/actionscript.py b/pygments/lexers/actionscript.py
index d15b1338..e6c059a5 100644
--- a/pygments/lexers/actionscript.py
+++ b/pygments/lexers/actionscript.py
@@ -38,7 +38,7 @@ class ActionScriptLexer(RegexLexer):
(r'//.*?\n', Comment.Single),
(r'/\*.*?\*/', Comment.Multiline),
(r'/(\\\\|\\/|[^/\n])*/[gim]*', String.Regex),
- (r'[~\^\*!%&<>\|+=:;,/?\\-]+', Operator),
+ (r'[~^*!%&<>|+=:;,/?\\-]+', Operator),
(r'[{}\[\]();.]+', Punctuation),
(words((
'case', 'default', 'for', 'each', 'in', 'while', 'do', 'break',
@@ -166,7 +166,7 @@ class ActionScript3Lexer(RegexLexer):
(r'[0-9]+', Number.Integer),
(r'"(\\\\|\\"|[^"])*"', String.Double),
(r"'(\\\\|\\'|[^'])*'", String.Single),
- (r'[~\^\*!%&<>\|+=:;,/?\\{}\[\]().-]+', Operator),
+ (r'[~^*!%&<>|+=:;,/?\\{}\[\]().-]+', Operator),
],
'funcparams': [
(r'\s+', Text),