Oldes / Rebol-wishes

Repository for keeping Rebol related wishes out of issues
0 stars 0 forks source link

Allow all `any-string!` values in string-based parsing #36

Closed Oldes closed 3 years ago

Oldes commented 3 years ago

At this moment:

>> ? any-string!
ANY-STRING! is a typeset of value: make typeset! [string! file! email! ref! url! tag!]

but:

parse "abc"  [%abc] ;== true
parse "a@bc" [a@bc] ;== true
parse "abc"  [@abc] ;== ERROR!
parse "a:bc" [a:bc] ;== ERROR!
parse "<a>"  [<a> ] ;== true

In Red language all above variants are true