Filter objects that match a given regular expression
Message
Message.text
InlineQuery
InlineQuery.query
dataStr
When a regex matches, the match array is stored in a type-safe extension field .match of the object
.match
Regex to be matched
Filter objects that match a given regular expression
Message
,Message.text
is usedInlineQuery
,InlineQuery.query
is useddataStr
is usedWhen a regex matches, the match array is stored in a type-safe extension field
.match
of the object