[pcre-dev] A question about dynamic regex?

Page principale
Supprimer ce message
Auteur: zmerry
Date:  
À: pcre-dev
Sujet: [pcre-dev] A question about dynamic regex?

Hi guy,

I searched PCRE's document using the keyword "dynamic" ,but I don't find PCRE can support dynamic regex. \(Englsih is not my native language,so reading whole document is really hard for me \)\. :)

Dynamic regex is ,for example,

The pattern (\w)(?1) can match ab .


I want to know whether PCRE supports dynamic regex or not now.
If PCRE doesn't support dynamic regex, will you add the feature for the future ?

Thanks!

Best wishes,
Matt

_________________________________________________________________
Messenger安全保护中心,免费修复系统漏洞,保护Messenger安全!
http://im.live.cn/safe/From silvermoonwoman@??? Mon Aug 31 17:19:15 2009
Envelope-to: pcre-dev@???
Received: from qmta09.westchester.pa.mail.comcast.net ([76.96.62.96]:58537)
    by tahini.csx.cam.ac.uk with esmtp (Exim 4.69)
    (envelope-from <silvermoonwoman@???>) id 1Mi9b4-0004aQ-I2
    for pcre-dev@???; Mon, 31 Aug 2009 17:19:15 +0100
Received: from OMTA07.westchester.pa.mail.comcast.net ([76.96.62.59])
    by QMTA09.westchester.pa.mail.comcast.net with comcast
    id azrB1c0091GhbT8594K8Vy; Mon, 31 Aug 2009 16:19:08 +0000
Received: from [192.168.1.100] ([67.166.173.111])
    by OMTA07.westchester.pa.mail.comcast.net with comcast
    id b4K71c0022QaJh73T4K7ZM; Mon, 31 Aug 2009 16:19:07 +0000
Message-ID: <4A9BF7FC.2020504@???>
Date: Mon, 31 Aug 2009 12:19:08 -0400
From: Sheri <silvermoonwoman@???>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: zmerry <mathewzhao@???>
References: <COL117-W23A7DC22071B0DCF8C3173D1F20@???>
In-Reply-To: <COL117-W23A7DC22071B0DCF8C3173D1F20@???>
Content-Type: text/plain; charset=GB2312
Content-Transfer-Encoding: 7bit
X-Spam-Score: 1.1 (+) 
X-Spam-Status: No, score=1.1 required=5.0 tests=AWL=-0.524, BAYES_40=-0.1,
    DNS_FROM_RFC_POST=1.708 autolearn=no version=3.1.8
Cc: pcre-dev@???
Subject: Re: [pcre-dev] A question about dynamic regex?
X-BeenThere: pcre-dev@???
X-Mailman-Version: 2.1.9
Precedence: list
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=unsubscribe>
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=help>
List-Subscribe: <http://lists.exim.org/mailman/listinfo/pcre-dev>,
    <mailto:pcre-dev-request@exim.org?subject=subscribe>
X-List-Received-Date: Mon, 31 Aug 2009 16:19:15 -0000


zmerry wrote:
> Hi guy,
>
> I searched PCRE's document using the keyword "dynamic" ,but I don't find PCRE can support dynamic regex. \(Englsih is not my native language,so reading whole document is really hard for me \)\. :)
>
> Dynamic regex is ,for example,
>
> The pattern (\w)(?1) can match ab .
>
>
> I want to know whether PCRE supports dynamic regex or not now.
> If PCRE doesn't support dynamic regex, will you add the feature for the future ?
>
> Thanks!
>
> Best wishes,
> Matt
>
>

Yes, using PCRE the pattern (\w)(?1) matches ab

Look for subroutine in the documentation.