def find_start_of_previous_word(self, count=1, WORD=False):
        # Reverse the text before the cursor, in order to do an efficient
        # backwards search.
        text_before_cursor = self.text_before_cursor[::-1]

        regex = _FIND_BIG_WORD_RE if WORD else _FIND_WORD_RE
        iterator = regex.finditer(text_before_cursor)

        try:
            for i, match in enumerate(iterator):
                if i + 1 == count:
                    return - match.end(1)
        except StopIteration:
            pass
Get's all the contacts email addresses. returns a list of strings.
dataset/ETHPy150Open jonathanslenders/python-prompt-toolkit/prompt_toolkit/document.py/Document.find_start_of_previous_word--crossover with--dataset/ETHPy150Open Narcolapser/python-o365/O365/contact.py/Contact.getEmailAdresses