--- In [email protected], "Sheri" <sheri...@...> wrote: > > > > --- In [email protected], "entropyreduction" > <alancampbelllists+yahoo@> wrote: > > > > See > > > > regexPlugin209_091028.zip > > in > > http://tech.groups.yahoo.com/group/power-pro/files/0_TEMP_/AlansPluginProvisional/ > > > > implemented > > > > starts aka offsets, ends, lengths, nostrings aka nosubtrings > > > > and PCRE_ERROR_PARTIAL treated like everything else. Actually > > didn;t test PCRE_ERROR_PARTIAL when user provides a variable > > name, only when vec supplied. And you better run full test > > script, which I didn't. I don't think I buggered anythig else, > > but I never do.... > > "lengths" is accepted as an option, but no entry is getting > appended to the vector for it. Otherwise all seems well in > preliminary tests and the original tests in the plugin test > script still work.
My error, vector being allocated wasn't big enough. But another problem. Appears that for "ends" option, the endoffset reported is zero-based, whereas for "starts" option, the startoffset is one-based. Regards, Sheri
