Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:51682 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28783 invoked from network); 14 Mar 2011 15:18:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Mar 2011 15:18:16 -0000 Authentication-Results: pb1.pair.com header.from=martinscotta@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=martinscotta@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.170 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: martinscotta@gmail.com X-Host-Fingerprint: 209.85.220.170 mail-vx0-f170.google.com Received: from [209.85.220.170] ([209.85.220.170:56353] helo=mail-vx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A6/E1-16045-8B13E7D4 for ; Mon, 14 Mar 2011 10:18:16 -0500 Received: by vxb39 with SMTP id 39so4408665vxb.29 for ; Mon, 14 Mar 2011 08:18:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=P63fFXi/tqYpdQhoFj6NKxwSxzcq5bm9x4Kury/ZvOE=; b=OIgo5tLCI90dnXPEjbcAAngwZQ1KvLaJi/GlBOXcvVXeODcOJ4fAkDcs0DYi6mF5jh Rs5TBtXBN9HTmlcT5deHtS1XIHmXjnDtlNL/YmL4e0n4ER9utSLFVfBV9yASoUt4wzUx +NKu8/oVWRaVxUXnekKRPcBNMjhBZuj0mleUM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=xbgzU8c76IdDoxsLeJ0HQiW6DNmuJo0pqSbMV8yCDD6Nsu7rDE8T2uQZ1WFB0dwqAr 6lqRs7tFC4uYRtX4s9sBHDujA2hCPV3qRya0deMP8Qlu4u8UZoCHlggycqsj2Fo8P7Ct H9iNtHfky7E0aGpTuGBTnY0DVXxwqspzOyOPI= MIME-Version: 1.0 Received: by 10.220.92.71 with SMTP id q7mr2842306vcm.114.1300115892128; Mon, 14 Mar 2011 08:18:12 -0700 (PDT) Received: by 10.220.125.67 with HTTP; Mon, 14 Mar 2011 08:18:12 -0700 (PDT) Date: Mon, 14 Mar 2011 12:18:12 -0300 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary=0016e6469cb8eacd42049e72d1c8 Subject: preg_replace does not replace all occurrences From: martinscotta@gmail.com (Martin Scotta) --0016e6469cb8eacd42049e72d1c8 Content-Type: text/plain; charset=ISO-8859-1 I chose the simplest example to show the preg_replace behavior, there are better (and safer) ways to scape slash characters. Anyways, *is this the expected preg_replace behavior?* Martin