> > Does anyone with a lot more experience with regular
> > expressions know the (more than likely obvious) way to make
> > this work in PHP too?
> 
> BBEdit and PHP both use Perl-Compatible Regular Expressions, so
> I don't know why it's not working for you in PHP.  Perhaps you
> could show a little more of the code you're using?

This depends on whether you're using the slow, stupid ereg() and
ereg_replace() functions or the nice fast Perl-compatible
preg_match(), preg_replace(), etc. functions.

-- 

Jeremy Weathers


No longer talk at all about the kind of man
that a good man ought to be, but be such.
    - Marcus Aurelius

--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to