diff options
author | Tim Hatch <tim@timhatch.com> | 2012-03-09 12:06:35 -0800 |
---|---|---|
committer | Tim Hatch <tim@timhatch.com> | 2012-03-09 12:06:35 -0800 |
commit | 3fb183049a0408a83436588cf364219163fcf73d (patch) | |
tree | a835d29376fe55baa34d803413165b26e602297e /pygments/lexers/text.py | |
parent | 057392c8f40d6ecfc0307c6c862a7ed3e060fe87 (diff) | |
download | pygments-3fb183049a0408a83436588cf364219163fcf73d.tar.gz |
[\w_] is the same as \w
---
pygments/lexers/agile.py | 12 ++++++------
pygments/lexers/other.py | 4 ++--
pygments/lexers/text.py | 2 +-
3 files changed, 9 insertions(+), 9 deletions(-)
Diffstat (limited to 'pygments/lexers/text.py')
-rw-r--r-- | pygments/lexers/text.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/text.py b/pygments/lexers/text.py index 85fdfbbc..50688da9 100644 --- a/pygments/lexers/text.py +++ b/pygments/lexers/text.py @@ -1702,7 +1702,7 @@ class PyPyLogLexer(RegexLexer): (r"^\+\d+: ", Comment), (r"[ifp]\d+", Name), (r"ptr\d+", Name), - (r"(\()([\w_]+(?:\.[\w_]+)?)(\))", + (r"(\()(\w+(?:\.\w+)?)(\))", bygroups(Punctuation, Name.Builtin, Punctuation)), (r"[\[\]=,()]", Punctuation), (r"(\d+\.\d+|inf|-inf)", Number.Float), |