diff options
author | Andy Li <andy@onthewings.net> | 2012-11-25 23:16:48 +0800 |
---|---|---|
committer | Andy Li <andy@onthewings.net> | 2012-11-25 23:16:48 +0800 |
commit | 04c3cb42d2e516936d72b60635a56301b2b679cc (patch) | |
tree | d48a78a92c1b8cd37bde65f230bbbdf1f2b4c221 | |
parent | aba45a9487983964aa3c4e288706720e363af13f (diff) | |
download | pygments-04c3cb42d2e516936d72b60635a56301b2b679cc.tar.gz |
no need to add "\b" after ident
-rw-r--r-- | pygments/lexers/web.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/web.py b/pygments/lexers/web.py index 322c95c7..0a1e87fb 100644 --- a/pygments/lexers/web.py +++ b/pygments/lexers/web.py @@ -1148,7 +1148,7 @@ class HaxeLexer(ExtendedRegexLexer): typeid = r'_*[A-Z][_a-zA-Z0-9]*' # combined ident and dollar and idtype - ident = r'(?:_*[a-z][_a-zA-Z0-9]*|_+[0-9][_a-zA-Z0-9]*|' + typeid + '|_+|\$[_a-zA-Z0-9]*)\b' + ident = r'(?:_*[a-z][_a-zA-Z0-9]*|_+[0-9][_a-zA-Z0-9]*|' + typeid + '|_+|\$[_a-zA-Z0-9]*)' # ident except keywords ident_no_keyword = r'(?!' + keyword + ')' + ident |