Re: [pcre-dev] Access to named subpattern from callout

Top Page
Delete this message
Author: ph10
Date:  
To: ND
CC: Pcre-dev
Subject: Re: [pcre-dev] Access to named subpattern from callout
On Mon, 7 Sep 2015, ND wrote:

> PCRE 8.38-RC1.
> Is there possible to get access to named subpattern by its name (not by
> number) from callout?
>
> I can't find in docs about it.


You might be able to make use of pcre_get_named_substring(). Otherwise
you could use pcre_get_stringnumber() to convert the name to a number.

Philip

--
Philip Hazel