A simple calculator using the correct regex patern to check if a calculation input is correct.