Actually preg_replace in PHP uses Perl regex.No, it doesn't. It really doesn't. It might use "PCRE", which despite the name, is not Perl, nor even very Perl Compatible.
This is why you're getting pushback. You are operating from a false claim.
-- Randal L. Schwartz, Perl hacker
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.
In reply to Re^7: Reg expression to replace URLs with Anchor tags in Tweets
by merlyn
in thread Reg expression to replace URLs with Anchor tags in Tweets
by halfbaked
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |