Hi,

> Not tested, mind you. I know what you're saying, too. How is _all_ of
> that code better(worse?) than one simple regex? Benchmark it and see.
> You'll be surprised how a lot more code with simple string functions
> will be considerably faster than a complex regular expression. Your
> results may vary, though. :)

        Ahh, you do have a very valid point there.

        I tweaked your regex as stated in your follow up post, and mike's, they
both work now.  I'm gonna test a non-regex method.  Performance is a factor
in this.  I'll post my results in a day or two when I get it situated.

        Thanks to you both!

-Dan Joseph


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

Reply via email to