added regex calculator