diff options
Diffstat (limited to 'pygments/lexers/ezhil.py')
-rw-r--r-- | pygments/lexers/ezhil.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/ezhil.py b/pygments/lexers/ezhil.py index 109b607b..4af37f33 100644 --- a/pygments/lexers/ezhil.py +++ b/pygments/lexers/ezhil.py @@ -69,7 +69,7 @@ class EzhilLexer(RegexLexer): decent amount of Tamil-characters, it's this language. This assumption is obviously horribly off if someone uses string literals in tamil in another language.""" - if len(re.findall('[\u0b80-\u0bff]')) > 10: + if len(re.findall(r'[\u0b80-\u0bff]', text)) > 10: return 0.25 def __init__(self, **options): |