support string range operator
Closed this issue · 3 comments
mbutterick commented
Expands to choice pattern, so "0".."3"
is the same as ("0" | "1" | "2" | "3")
mbutterick commented
I suppose this is a special case of #11 also.
mbutterick commented
Though it could also be implemented as shorthand for a choice pattern.
mbutterick commented
As a matter of syntax expansion, this could be done. But it’s too hard to figure out how it should work in cases other than digits. Even alphabets are complex. Too much mischief.