findall匹配原则:匹配满足所有条件的字符
import re
test = re.findall('abc','abcabaabc')
print(test)
#['abc', 'abc']
a = "abcaabbcc"
print(re.findall('.',a))
#['a', 'b', 'c', 'a', 'a', 'b', 'b', 'c', 'c']
print(re.findall('a+',a))
#['a', 'aa']
print(re.findall('a*',a))
#['a', '', '', 'aa', '', '', '', '', '']
print(re.findall('a?',a))
#['a', '', '', 'a', 'a', '', '', '', '', '']