[pcre-dev] pcre update

Kezdőlap
Üzenet törlése
Szerző: james zervas
Dátum:  
Címzett: pcre-dev@exim.org
Tárgy: [pcre-dev] pcre update
Secunia notified me of need to update pcre 6.x to 6.7. I talked to Webroot tech ser who advised me to not update as changing .dll would not allow their program to work. Pls advise. thanks, jzervas 


      From admin@??? Sun May 16 02:48:38 2010
Envelope-to: pcre-dev@???
Received: from wwwrun by tahini.csx.cam.ac.uk with local (Exim 4.71)
    (envelope-from <admin@???>) id 1ODSy5-000265-OO
    for pcre-dev@???; Sun, 16 May 2010 02:48:37 +0100
Date: Sun, 16 May 2010 02:48:37 +0100
From: Jeff Miner <mrjminer@???>
Sender: admin@???
To: pcre-dev@???
X-Bugzilla-Reason: CC
X-Bugzilla-Type: newchanged
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: PCRE
X-Bugzilla-Component: Code
X-Bugzilla-Keywords:
X-Bugzilla-Severity: wishlist
X-Bugzilla-Who: mrjminer@???
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: medium
X-Bugzilla-Assigned-To: ph10@???
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields:
Message-ID: <bug-984-288@???/>
Content-Type: text/plain; charsetuTF-8"
MIME-Version: 1.0
X-Mailman-Approved-At: Mon, 17 May 2010 08:22:57 +0100
Subject: [pcre-dev] [Bug 984] New: Request: Declaring capturing groups with
 the same name
X-BeenThere: pcre-dev@???
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: 984@???
List-Id: PCRE Development <pcre-dev.exim.org>
List-Unsubscribe: <http://lists.exim.org/mailman/listinfo/pcre-dev>,
    <mailto:pcre-dev-request@exim.org?subject¾subscribe>
List-Archive: <http://lists.exim.org/lurker/list/pcre-dev.html>
List-Post: <mailto:pcre-dev@exim.org>
List-Help: <mailto:pcre-dev-request@exim.org?subjectŽlp>
List-Subscribe: <http://lists.exim.org/mailman/listinfo/pcre-dev>,
    <mailto:pcre-dev-request@exim.org?subject¥bscribe>
X-List-Received-Date: Sun, 16 May 2010 01:48:38 -0000


------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id˜4
           Summary: Request:  Declaring capturing groups with the same name
           Product: PCRE
           Version: N/A
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: wishlist
          Priority: medium
         Component: Code
        AssignedTo: ph10@???
        ReportedBy: mrjminer@???
                CC: pcre-dev@???



I use PCRE through preg_* functions in PHP.

Allow named capturing groups to be declared more than once in the same match:

This would allow for the possibility of having different outcomes for a
particular subpattern to be stored and referenced to the same variable. I
believe this could save CPU cyles, memory, and bytes of code from not having to
check for which subpattern is correct. Ideally, the capturing group could also
be reused to declare itself in order to build on the previous match within the
subpattern continually (ie: use it as a variable).

A quick example of finding non-repeated character sequence of variable length
(for syntactic purposes): (?<a>.)(?:(?
?\k<a>)(?<a>\k<a>.))*

If possible, I suppose this would have to be implemented in a way that only
enables redeclaring the same named capturing group and outputs the most recent
capture (not overwriting the capture each time, as overwriting previous
captures could affect relative backreferences).

Thanks for taking the time to look at this!

Jeff Miner


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tabMail