[TRE-general] regoff_t and wide chars
Gregory Sharp
gregsharp.geo at yahoo.com
Sun Jan 28 18:31:40 EET 2007
Hi, I'm trying to get wchar_t regular expressions working.
Looking at the API defined on the web site:
The regmatch_t structure contains at least the following fields:
regoff_t rm_so
Byte offset from start of string to start of substring.
regoff_t rm_eo
Byte offset from start of string to the first character
after the substring.
Are the offsets really measured in bytes rather than number of
wide characters? If so, why?
Greg
Greg Sharp
gregsharp at geocities.com
____________________________________________________________________________________
Don't get soaked. Take a quick peak at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather
More information about the TRE-general
mailing list