[links-list] Re: Cookies

Peter Wang tjaden at alphalink.com.au
Sun May 5 03:33:59 PDT 2002


On 2002-05-04, clemensF <ino-waiting at gmx.net> wrote:
> what's wrong with:
> 
>     -- work around for elinks parser, which is parsing into <script/>
>     -- html = gsub (html, "<script>.-</script>", "", 1)
>     -- ret = 1
>     html, n = gsub (html, "<script>.-</script>", "", 1)
>     ret = ret or (n > 0)

Nothing.  Except that you probably want "local n" somewhere, else `n'
is global (minor nitpick).

> 
> i'd say this eases the load if no sustitutions are made?

Yes.
-- 
Unsubscribe: send email to links-list-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message



More information about the links-list mailing list