Skip to content

Commit

Permalink
Update telegram_token.py
Browse files Browse the repository at this point in the history
  • Loading branch information
StuffyMonkey committed Dec 13, 2023
1 parent b09a786 commit 42fe54d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion detect_secrets/plugins/telegram_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ class TelegramTokenDetector(RegexBasedDetector):
secret_type = 'Telegram Token'

denylist = [
re.compile(r'^\d{8,10}:[a-zA-Z\d_\-]{35}$'),
re.compile(r'\d{8,15}:[a-zA-Z\d_\-]{35}'),
]

0 comments on commit 42fe54d

Please sign in to comment.