--- In [email protected], "Sheri" <sheri...@...> wrote:
 
> I guess the point is, after the match, it could be possible to do
> some conditional processing dependent on the content of the
> markstring. I suppose some new regex plugin option might be
> needed to communicate that when you want a markstring. ? Appears
> the pcretest.exe app in the test version has an option to
> retrieve the markstring. 

>From the pcretest doc:
 
The /K modifier requests pcretest to show names from backtracking control verbs 
that are returned from calls to pcre_exec(). It causes pcretest to create a 
pcre_extra block if one has not already been created by a call to pcre_study(), 
and to set the PCRE_EXTRA_MARK flag and the mark field within it, every time 
that pcre_exec() is called. If the variable that the mark field points to is 
non-NULL for a match, non-match, or partial match, pcretest prints the string 
to which it points. For a match, this is shown on a line by itself, tagged with 
"MK:". For a non-match it is added to the message. 



Reply via email to