------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1190

Zoltan Herczeg <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #5 from Zoltan Herczeg <[email protected]>  2011-12-28 21:00:33 
---
> I'm still seeing different behavior if I use startoffset.  In particular, on
> the second call to pcre_exec(), it returns 2, with match containing
> 
>        1,1,4,7

That is correct. The result starts from character 1, and ends after character 1
(your pattern only contains zero width assertions, so the result length is
zero) and the 4, 7 are the start and end offset returned by the capturing
bracket (inside the assertion). 2 means you have a match and one capturing
bracket data is filled.


-- 
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email

-- 
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev 

Reply via email to