我有一个子串 'G^ATTC' 我想找出它在一个字符串中出现的时间 'ATCGCGATTC' 但我不能因为 '^' .
'G^ATTC'
'ATCGCGATTC'
'^'
我用过 re.findall ,但结果总是 0 .
re.findall
0