From: "Gabino Travassos" <[EMAIL PROTECTED]>

> I'm wondering if Regular Expressions are the same in Perl and PHP (and
> possibly Actionscript)? They look the same and smell the same, but if I
see
> a book in a store for Perl Regular Expressions that's $10 cheaper than the
> PHP one (is there one?), then is it the same thing?

The regular expressions used in the preg_* functions "closely resembles
Perl". The basic syntax is the same. The regular expressions used in the
ereg_* functions are POSIX-Extended.

http://us2.php.net/manual/en/ref.pcre.php (Perl-compatible)
http://us2.php.net/manual/en/ref.regex.php (POSIX Extended)

---John Holmes...

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

Reply via email to