I don't remember the last time I used a calculator. In fact, I don't even think I own one! That's because I always use Excel to perform my calculations, and you can do the same. Admittedly, using ...
for match in re.finditer(pattern,text): ...