string-mask icon indicating copy to clipboard operation
string-mask copied to clipboard

Bug with Numbers being interrupted by alpha chars [a-z]

Open crobinson42 opened this issue 9 years ago • 0 comments

format('(###)###-####',  "9166163a600" )
format('(000)000-0000', "9166163a600" )

Produces:

AssertionError: '(916)616-3' == '(916)616-3600'
      + expected - actual

      - (916)616-3
      + (916)616-3600

crobinson42 avatar Sep 06 '16 22:09 crobinson42