PyDocs

Nav

Graphical user interfaces with Tk

Text.search_all

tkinter

method of Text · Added in 3.15
  • Text.search_all(pattern, index, stopindex=None, *, forwards=None, backwards=None, exact=None, regexp=None, nocase=None, count=None, elide=None, nolinestop=None, overlap=None, strictlimits=None)
Like search(), but find every match in the searched range and return a tuple of the starting indices of all matches (empty if there are none). By default overlapping matches are not reported; passing a true overlap returns every match that is not wholly contained in another. If count is a Variable, it receives a list with one element per match.
0 Examples
No examples for tkinter/Text.search_all.
See Also
No see-alsos for tkinter/Text.search_all
0 Notes
No notes for Text.search_all