I have tried reaching yoursite several times but cannot. Is your site shutdown at certain times? -----Original Message----- From: "Ladislav Mecir" <[EMAIL PROTECTED]> Date: Fri, 22 Feb 2002 11:42:12 +0100 To: <[EMAIL PROTECTED]> Subject: [REBOL] Re: Help with parsing
> Hi Richard, > > you can use my parse enhancing functions as follows: > > do http://www.sweb.cz/LMecir/parseen.r > digit: charset [#"0" - #"9"] > to-digit: to-rule [digit] > parse "xx7xx9" [to-digit copy answer to end] > answer > > Cheers > L > > P.S. you can find it at my rebsite (sites/Ladislav) too > > <<From: "Richard Dixon">> > > 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] > >> > -- > > -- > To unsubscribe from this list, please send an email to > [EMAIL PROTECTED] with "unsubscribe" in the > subject, without the quotes. > > -- _______________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
