[thelist] Search & replace text

Richard Livsey R.Livsey at cache-22.co.uk
Mon Feb 12 08:30:29 CST 2001


> -----Original Message-----
> From: thelist-admin at lists.evolt.org
> [mailto:thelist-admin at lists.evolt.org]On Behalf Of Jay Greenspan
> Sent: Monday, February 12, 2001 2:24 PM
> To: thelist at lists.evolt.org
> Subject: Re: [thelist] Search & replace text

> > It may be parsing the string in the regex - ie the '.'
>
> Have you tested this? I'd be kind of surprised if the delimiter made a
> difference later in the script.
>

Oops - forgot to say that it wasnt tested.

I dont know if it would make a difference later on in the script, but I had
a few problems a week or so ago and that was one of the changes I made
before I got it working.
Problem was I mad a few changes at once so it could have been any of them!

Its good practice to only double quote those strings that need parsing
anyway - might not seem like much of a difference for only a small program,
but everything adds up and it can make a difference in running time for
larger apps.

R.Livsey
Freelance web developer
Vibus.net Director
Lead programmer for Tickle.co.uk
m. +44 (0) 7714 757250
e. R.Livsey at Cache-22.co.uk





More information about the thelist mailing list