Hello [EMAIL PROTECTED]!

On 30-Dic-99, you wrote:

 K> I think it's safe to say this is too complex for general use.
 K> I shudder to think what would be involved trying to generate
 K> such a rule.

Indeed, it would have been much easier to be able to write:

    t*t: ["t" some ["t " break | no-space]]
    parse/all text [
        some [
            to " t" skip
            [copy match t*t break | skip] 
        ]
    ]

MATCH would contain an extra space, but I think we could live with
that. Of course, I'm assuming that the word is delimited by
spaces, and not tabs or newlines.

Anyway, in practical cases I think one should consider using
normal REBOL code instead of parse rules for this kind of stuff.

Regards,
    Gabriele.
-- 
o--------------------) .-^-. (----------------------------------o
| Gabriele Santilli / /_/_\_\ \ Amiga Group Italia --- L'Aquila |
| GIESSE on IRC     \ \-\_/-/ /  http://www.amyresource.it/AGI/ |
o--------------------) `-v-' (----------------------------------o

Reply via email to