Hi
On the phone number problem
The first test for the phone-number/number
function is supposed to return a clean number:
(deftest cleans-number
(is (= "1234567890" (phone-number/number "(123) 456-7890"))))
But the explanation text states:
> The format is usually represented as
> (NXX)-NXX-XXXX
> where N
is any digit from 2 through 9 and X
is any digit from 0 through 9.
Should the number in the first test not return an invalid number?
Because the first block 123 starting with 1.