use regex to search the page one time to get two types of Information

iMath redstone-cold at 163.com
Fri Aug 19 09:13:55 EDT 2016


1. searching the page two times rather than one is a little bit time consuming .
2. starting the second search from the first match.endpos does reduce the time consuming .
3. how to  combine both patterns into one regex? while using the special | regex operator only matches one regex not both 



More information about the Python-list mailing list