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

Page principale
Supprimer ce message
Auteur: ph10
Date:  
À: ND
CC: Pcre-dev
Sujet: 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