fix regexp error parsing negative numbers
reported by Doug Wegscheid