On Tuesday 10 December 2002 09:45, Steve Keller wrote:
> At 12/9/2002 07:20 PM,  John W. Holmes wrote:
>  > It'd be easier to use a regular expression for something like this.
>  > Something like this would work (from PHP Architect):
>
> I appreciate that, but considering I'm working from about 1200 files that
> already exist and use [] to denote table names, I kinda gotta do it this
> way.

John's suggestion of using '{', and '}' as the tag delimiters was to simplify 
the regex. You can continue to use '[', and ']' as your delimiters, just 
change the regex accordingly -- and don't forget that '[', and ']' needs to 
be escaped.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
If life gives you lemons, make lemonade.
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to