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

Pàgina inicial
Delete this message
Autor: ph10
Data:  
A: ND
CC: Pcre-dev
Assumpte: 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