python-telegram-bot/telegram/ext
Marco Fincato a0cd6e8fef
Add Filters.caption_regex (#2163)
* Check caption in Filters.regex

Added regex matching for message caption in Filters.regex.

* Moved caption check to Filters.caption_regex

* Added caption_regex tests

The same as for regex, with only the content of the message changed, that is now inside caption.

* Fixed pre-commit tests

Lines too long and an additional blank line

* Moved line break to comply

* Reformatted code with black

* Added docstrings
2020-11-04 20:54:24 +01:00
..
__init__.py Switch Code Formatting to Black (#2122) 2020-10-09 17:22:07 +02:00
basepersistence.py Improve Code Quality (#2131) 2020-10-31 16:33:34 +01:00
callbackcontext.py Improve Code Quality (#2131) 2020-10-31 16:33:34 +01:00
callbackqueryhandler.py Improve Code Quality (#2131) 2020-10-31 16:33:34 +01:00
choseninlineresulthandler.py Improve Code Quality (#2131) 2020-10-31 16:33:34 +01:00
commandhandler.py Improve Code Quality (#2131) 2020-10-31 16:33:34 +01:00
conversationhandler.py Improve Code Quality (#2131) 2020-10-31 16:33:34 +01:00
defaults.py Improve Code Quality (#2131) 2020-10-31 16:33:34 +01:00
dictpersistence.py Improve Code Quality (#2131) 2020-10-31 16:33:34 +01:00
dispatcher.py Improve Code Quality (#2131) 2020-10-31 16:33:34 +01:00
filters.py Add Filters.caption_regex (#2163) 2020-11-04 20:54:24 +01:00
handler.py Improve Code Quality (#2131) 2020-10-31 16:33:34 +01:00
inlinequeryhandler.py Improve Code Quality (#2131) 2020-10-31 16:33:34 +01:00
jobqueue.py Improve Code Quality (#2131) 2020-10-31 16:33:34 +01:00
messagehandler.py Improve Code Quality (#2131) 2020-10-31 16:33:34 +01:00
messagequeue.py Improve Code Quality (#2131) 2020-10-31 16:33:34 +01:00
picklepersistence.py Improve Code Quality (#2131) 2020-10-31 16:33:34 +01:00
pollanswerhandler.py Improve Code Quality (#2131) 2020-10-31 16:33:34 +01:00
pollhandler.py Improve Code Quality (#2131) 2020-10-31 16:33:34 +01:00
precheckoutqueryhandler.py Improve Code Quality (#2131) 2020-10-31 16:33:34 +01:00
regexhandler.py Improve Code Quality (#2131) 2020-10-31 16:33:34 +01:00
shippingqueryhandler.py Improve Code Quality (#2131) 2020-10-31 16:33:34 +01:00
stringcommandhandler.py Improve Code Quality (#2131) 2020-10-31 16:33:34 +01:00
stringregexhandler.py Improve Code Quality (#2131) 2020-10-31 16:33:34 +01:00
typehandler.py Improve Code Quality (#2131) 2020-10-31 16:33:34 +01:00
updater.py Improve Code Quality (#2131) 2020-10-31 16:33:34 +01:00