[EMAIL PROTECTED] wrote:
> Hello [EMAIL PROTECTED]!
>
> On 09-Gen-00, you wrote:
>
> o> To make things even more spooky, look at this:
>
> o> sep: charset " ,.!?"
> o> b1: [skip b1 | "ing"]
> o> b2: [skip b2 | "ing" sep to end]
> o> a: [b1 | b2]
>
> o> The idea here is that b1 will match any string ending in
> o> "ing", and b2 will match any string which contains "ing"
> o> followed by a separator. Now, watch this:
>
> o>>> parse/all "ringing bells" b2
> o> == true
> o>>> parse/all "ringing bells" a
> o> == false
>
> I have the answer for you: change b1 as:
>
> b1: [skip b1 | "ing" end]
b1: [skip b1 | "ing" to end] seems to do the job better :-)
-pekr-
>
>
> Do you see what I mean?
>
> Regards,
> Gabriele.
> --
> o--------------------) .-^-. (----------------------------------o
> | Gabriele Santilli / /_/_\_\ \ Amiga Group Italia --- L'Aquila |
> | GIESSE on IRC \ \-\_/-/ / http://www.amyresource.it/AGI/ |
> o--------------------) `-v-' (----------------------------------o