zed icon indicating copy to clipboard operation
zed copied to clipboard

package zson shouldn't use unicode.IsDigit()

Open mccanne opened this issue 3 years ago • 0 comments

The zson spec defines a numeric as [0-9]+ but incorrectly uses unicode.IsDigit() is several places. We should fix this with an isDigit() function that checks >='0' && <='9'

mccanne avatar Jul 20 '22 15:07 mccanne