from __future__ import absolute_import from six import text_type # Match multi-word string between @** ** or match any one-word # sequences after @ find_mentions = r'(? bool return mention in wildcards