[pcre-dev] [Bug 1356] Incorrect pcre_exec documentation of t…

Page principale
Supprimer ce message
Auteur: Philip Hazel
Date:  
À: pcre-dev
Sujet: [pcre-dev] [Bug 1356] Incorrect pcre_exec documentation of the length parameter
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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




--- Comment #3 from Philip Hazel <ph10@???> 2013-05-13 16:12:25 ---
On Mon, 13 May 2013, Mr. Anonymous wrote:

> --- Comment #2 from Mr. Anonymous <lamaleqocebecyfa@???> 2013-05-13 14:11:04 ---
> Data units - i.e. bytes/2, right?


Yes.

> So a surrogate pair makes it 2?


Yes. All the length and offset values are in number of data units: that
is number of bytes for the 8-bit library, number of 16-bit units for the
16-bit library, and number of 32-bit units for the 32-bit library.


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