Hi Ryan: Here's a one liner that may help:
>> st: "abcdef"
== "abcdef"
>> parse/all st "ed"
== ["abc" "" "f"] ; An inclusive OR, I guess.
>> parse/all st "gh"
== ["abcdef"] ; No splitting as neither "g" nor "h" is present.
>> parse/all st "gb"
== ["a" "cdef"] ; Split at the single char that matched.
Russell [EMAIL PROTECTED]
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 20, 2000 12:26 PM
Subject: [REBOL] parse or Re:
>
>
> Howdy, Ryan:
>
> paragraphs: {First paragraph.^/Second "paragraph."^/Third paragraph.}
> parse paragraphs [some [thru {.^/} | thru {."^/} | thru "." end]]
>
> -jeff
>
> > == {First paragraph.
> > Second "paragraph."
> > Third paragraph.}
> > >> probe parse paragraphs [{.^/} | {."^/}]
> > false
> > == false
> > >> probe parse paragraphs ({.^/} or {."^/})
> > ** Script Error: Cannot use or~ on string! value.
> > ** Where: ".^/" or {."
> >
> > So how DO I parse by a value OR another value?
> >
> > -Ryan
>
>