Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:25351 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48397 invoked by uid 1010); 14 Aug 2006 20:02:03 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 48382 invoked from network); 14 Aug 2006 20:02:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Aug 2006 20:02:03 -0000 X-PHP-List-Original-Sender: stuttle@gmail.com X-Host-Fingerprint: 87.117.193.62 uk1.moxiemon.net Received: from ([87.117.193.62:64793] helo=horatio.sharedserver.net) by pb1.pair.com (ecelerity 2.1.1.3 r(11751M)) with ESMTP id 03/6B-19138-9B6D0E44 for ; Mon, 14 Aug 2006 16:02:03 -0400 Received: from [192.168.0.103] (user-54403096.l6.c3.dsl.pol.co.uk [84.64.48.150]) by horatio.sharedserver.net (Postfix) with ESMTP id 8705AA170A1; Mon, 14 Aug 2006 20:49:05 +0100 (BST) Message-ID: <44E0D6B6.7050505@gmail.com> Date: Mon, 14 Aug 2006 21:01:58 +0100 User-Agent: Thunderbird 1.5.0.5 (X11/20060728) MIME-Version: 1.0 To: "Frank M. Kromann" CC: runner60 , internals@lists.php.net References: <11555835353960000@9866357972520000.9866341568840000> In-Reply-To: <11555835353960000@9866357972520000.9866341568840000> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] config.w32 quirk From: stuttle@gmail.com (Stut) Frank M. Kromann wrote: > That has to do with the way the config.w32 files are processed. > > changing one line in win32\build\buildconf.js from > > re = new RegExp("(ARG_(ENABLE|WITH)\([^;]+\);)", "gm"); > > to > > re = new RegExp("^(ARG_(ENABLE|WITH)\([^;]+\);)", "gm"); > > will prevent this from happening. This change will require the ARG_ to > start a the begining of the line. No need for such a requirement. I don't know whether the JS regex is PCRE or not, but I believe something like this will solve that issue... re = new RegExp("^\s*(ARG_(ENABLE|WITH)\([^;]+\);)", "gm"); -Stut