calculator error handling / fun with regex