index for regex.search() beyond which the RE engine will not go.

Jon Ribbens jon+usenet at unequivocal.eu
Fri Aug 19 07:21:49 EDT 2016


On 2016-08-19, iMath <redstone-cold at 163.com> wrote:
> for
> regex.search(string[, pos[, endpos]]) 
> The optional parameter endpos is the index into the string beyond
> which the RE engine will not go, while this lead me to believe the
> RE engine will still search on till the endpos position even after
> it returned the matched object, is this Right ?

I am not able rightly to apprehend the kind of confusion of ideas
that could provoke such a question.



More information about the Python-list mailing list