Hello,

> When I use the '| operator (for OR), 'parse will search the entire string
> for the first pattern then, if this isn't found, it will begin searching
for
> the second pattern. Although a person may want to do this, I do not. What
I
> want is to match the first or second pattern, WHICHEVER COMES FIRST in the
> search string. Bummer, huh?

I couldn't verify this (I only got 'true' returned, but that's obvious ;o),
but I believe 'any is what does that precisely:

a: "ads1dgfuihdf2iofj6pfg5idgfi6idfsgp7gfhi8"
parse a [any ["5" "6"] to end]

My mastery of parse doesn't extend to actually proving this, but I believe
this means 'parse stops at the first of the two it encounters, just like you
wanted, right? =)

Regards,
Rachid

Reply via email to