fix for issue #29 (don't show expected output for regex tests)

ProblemType enumeration now specifies whether or not the expected
output is "literal", which is true for the function/method
problem types, and false for the problem types checked by regex.