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

iMath redstone-cold at 163.com
Fri Aug 19 07:14:35 EDT 2016


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 ?




More information about the Python-list mailing list