5
0
2
255
Python里数量词默认是贪婪的,总是尝试匹配尽可能多的字符。即,正则式子从左到右扫时总是抓取满足匹配的最长字符串直到往右不能再取。非贪婪则相反...
txt='132GOasmHOMEwokdslNOWsdwkGO239NOW' pattern=['GO','HOME','NOW','GO',...