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

Página Principal
Apagar esta mensagem
Autor: ph10
Data:  
Para: ND
CC: Pcre-dev
Assunto: 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