[ create a new paste ] login | about

Link: http://codepad.org/uMRpfbCa    [ raw code | output | fork ]

Python, pasted on Apr 19:
1
2
3
4
5
import re

regex = re.compile("(.+?)\1+")
results = regex.findall("FFFFFFF")
print(results)


Output:
1
[]


Create a new paste based on this one


Comments: