I haven't got much of a clue what all that means, but I'll look at code next week and see what I can work out.
--- In [email protected], "Sheri" <sheri...@...> wrote: > I found a problem. Unlike earlier PCRE releases, PCRE 8.00 updates its vector > when PCRE_ERROR_PARTIAL is returned. When the option "offsets" is included > with partial_hard or partial_soft, and a partial match status is obtained, > there are no entries in our vector. > local hVec > if (vec.exists(hVec)) > vec.destroy(hVec) > hVec=vec.create(2) > local ret=regex.pcrematch(?"abcdef|a.", "ab", ;;+ > "partial_hard offsets", hVec) > win.debug("99: (test partial_hard) ret", ret, "status", regex_status) > if (hVec.length > 0) do > win.debug(hVec[0] ++" at offset "++hVec[1]) > else > win.debug("99: hVec is empty") > endif > quit
