Update dispatcher.py (#386)

This commit is contained in:
csd-oss 2020-07-21 21:29:33 +03:00 committed by GitHub
parent d2cf737919
commit 7a2fb9779f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -445,7 +445,7 @@ class Dispatcher(DataMixin, ContextInstanceMixin):
.. code-block:: python3
@dp.message_handler(rexexp='^[a-z]+-[0-9]+')
@dp.message_handler(regexp='^[a-z]+-[0-9]+')
async def msg_handler(message: types.Message):
Filter messages by command regular expression: