diff options
author | Gaurav Jain <gaurav@gauravjain.org> | 2014-03-22 17:56:08 -0400 |
---|---|---|
committer | Gaurav Jain <gaurav@gauravjain.org> | 2014-03-22 17:56:08 -0400 |
commit | fdc86d6fe1013084de343a66f3221628c1478c45 (patch) | |
tree | 584f29ef075ec651044e777da6c9f9d811c35b2a /pygments/lexers/compiled.py | |
parent | 4e05778608f335f062ccee43d06562610409f92c (diff) | |
download | pygments-fdc86d6fe1013084de343a66f3221628c1478c45.tar.gz |
Use correct RegEx expression for whitespace
Diffstat (limited to 'pygments/lexers/compiled.py')
-rw-r--r-- | pygments/lexers/compiled.py | 2 |
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'), |