[REBOL] Help with parsing
From: richard_dixon:mail at: 22-Feb-2002 2:43
I am learning Rebol Core. It is unclear to me why the following statements fail. Any
help in understanding what is wrong with the following statements would be appreciated.
>> digits: [["0"] | ["1"] | ["2"] | ["3"] | ["4"] | ["5"] | ["6"] | ["7"] | ["8"] | ["9"]
]
== [["0"] | ["1"] | ["2"] | ["3"] | ["4"] | ["5"] | ["6"] | ["7"] | ["8"] | ["9"]]
>> parse {xx7xx9} [to digits copy answer to end]
** Script Error: Invalid argument: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
** Where: halt-view
** Near: parse "xx7xx9" [to digits copy answer to end]