Skip to content

Commit

Permalink
Treewide - Fixed regex pattern.
Browse files Browse the repository at this point in the history
  • Loading branch information
Avinash Reddy authored Dec 27, 2019
1 parent 68fb453 commit b884077
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userbot/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def register(**args):
pattern = args.get('pattern', None)
disable_edited = args.get('disable_edited', False)
ignore_unsafe = args.get('ignore_unsafe', False)
unsafe_pattern = r'^[^/!#@\$0-9A-Za-z]'
unsafe_pattern = r"^[^/!#@\$A-Za-z0-9]"
groups_only = args.get('groups_only', False)
trigger_on_fwd = args.get('trigger_on_fwd', False)
disable_errors = args.get('disable_errors', False)
Expand Down

0 comments on commit b884077

Please sign in to comment.