summaryrefslogtreecommitdiff
path: root/pygments/lexers/compiled.py
diff options
context:
space:
mode:
authorGaurav Jain <gaurav@gauravjain.org>2014-03-22 17:56:08 -0400
committerGaurav Jain <gaurav@gauravjain.org>2014-03-22 17:56:08 -0400
commitfdc86d6fe1013084de343a66f3221628c1478c45 (patch)
tree584f29ef075ec651044e777da6c9f9d811c35b2a /pygments/lexers/compiled.py
parent4e05778608f335f062ccee43d06562610409f92c (diff)
downloadpygments-fdc86d6fe1013084de343a66f3221628c1478c45.tar.gz
Use correct RegEx expression for whitespace
Diffstat (limited to 'pygments/lexers/compiled.py')
-rw-r--r--pygments/lexers/compiled.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/compiled.py b/pygments/lexers/compiled.py
index 0a976fa4..f8fe8dfa 100644
--- a/pygments/lexers/compiled.py
+++ b/pygments/lexers/compiled.py
@@ -1434,7 +1434,7 @@ def objective(baselexer):
# discussion in Issue 789
(r',', Punctuation),
(r'\.\.\.', Punctuation),
- (r'(\(.*?\))( *)([a-zA-Z$_][a-zA-Z0-9$_]*)',
+ (r'(\(.*?\))(\s*)([a-zA-Z$_][a-zA-Z0-9$_]*)',
bygroups(using(this), Text, Name.Variable)),
(r'[a-zA-Z$_][a-zA-Z0-9$_]*:', Name.Function),
(';', Punctuation, '#pop'),