+ 1
re.search
Why does re.search for strings like “ababab” return “abab”? I’m not sure what to do so it returns “ab”. Maybe I should change the pattern?
1 ответ
Why does re.search for strings like “ababab” return “abab”? I’m not sure what to do so it returns “ab”. Maybe I should change the pattern?