Thanks but if you don't want copy text between 1 and 11 but only on the 12th
is it possible ?
----- Message d'origine -----
De : <[EMAIL PROTECTED]>
� : <[EMAIL PROTECTED]>
Envoy� : dimanche 1 octobre 2000 19:53
Objet : [REBOL] Repeat pattern Re:
> On Sun, 01 Oct 2000, you wrote:
> > Let suppose this rule:
> > 12 [thru "<table>" copy text to "</table>"]
> >
> > How to modify the syntax if you want to do it not 12 times but only the
> > 12th time ?
>
> Not tested but...
>
> counter: 0
> tables: []
> parse mypage [some [thru "<table> copy text to "</table>"
> (if (counter // 12) = 0 [append tables
text]
> counter: counter + 1)
> ]
> ]
>
>
>
> >
> > Thanks
>