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

Startseite
Nachricht löschen
Autor: ph10
Datum:  
To: ND
CC: Pcre-dev
Betreff: 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