I have a negative test below in which the input string does not correspond to the pattern.  In that case ToNumberFunciton.evaluate() returns false.  No exceptions are thrown.