Rustom Mody wrote: > [How BTW did you folks go about unearth that groupindex?? Dont see it in > [docs]
While it's there https://docs.python.org/dev/library/re.html#re.regex.groupindex my personal search algorithm for this category of questions is mostly "I saw something like that before", then dir(some_obj) to find the candidates, then try the candidates in order of likelihood. If that fails use the source. While you learn things you weren't looking for the disadvantage of that approach is that you sometimes miss the "obvious, first hit given by the search engine" answer. -- https://mail.python.org/mailman/listinfo/python-list