summaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
Diffstat (limited to 'scss')
-rw-r--r--scss/grammar/expression.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scss/grammar/expression.py b/scss/grammar/expression.py
index 8b0dd82..e1cff3b 100644
--- a/scss/grammar/expression.py
+++ b/scss/grammar/expression.py
@@ -86,7 +86,7 @@ class SassExpressionScanner(Scanner):
('VAR', '\\$[-a-zA-Z0-9_]+'),
('LITERAL_FUNCTION', '(-moz-calc|-webkit-calc|calc|expression|progid:[\\w.]+)(?=[(])'),
('ALPHA_FUNCTION', 'alpha(?=[(])'),
- ('OPACITY', '((?i)opacity)'),
+ ('OPACITY', '(?i)(opacity)'),
('URL_FUNCTION', 'url(?=[(])'),
('IF_FUNCTION', 'if(?=[(])'),
('FNCT', '[-a-zA-Z_][-a-zA-Z0-9_]*(?=\\()'),