Hi Sheri, Dunno if you want to issue this fix as an update to 207. Can make version 208 if you want. Date is different from the 207 you published.
> Try regexPlugin091007.zip > > http://tech.groups.yahoo.com/group/power-pro/files/0_TEMP_/AlansPluginProvisional/ > > > --- In [email protected], "forxtra" <forxtra@> wrote: > > > > > It don't throw error message. > > BTW, It seems to return different results. > > > > ; ---------------------------------------------- > > Local s = Unicode.New("utf8") > > Local p = ?"\w" > > > > ;; diffent results > > Win.Debug(Regex.PcreMatchAll(p, s, "", "u")) > > Win.Debug(Regex.PcreMatchAll(p, s, "", "/u")) ;; Error? > > > > ;; same results > > Win.Debug(Regex.PcreMatchAll(p, s.to_utf8, "", "u")) > > Win.Debug(Regex.PcreMatchAll(p, s.to_utf8, "", "/u")) > > > > s = Unicode.Release(s) > > ; ---------------------------------------------- > > > > > > Thanks. > > > > > > > > > > --- In [email protected], "Sheri" <sherip99@> wrote: > > > > > > > > Duplicated your script, no error message. Sheri or anyone else? > > > > > > > > Yes, see below: > > > > > > > > regex.errorDialogOn > > > > Win.Debug(Regex.PcreMatch("u", "utf8", "/u")) > > > > > > > > --------------------------- > > > > PowerPro > > > > --------------------------- > > > > ERROR: regex.pcreMatch: Option incomprehensible: /u > > > > > > > > Error occurred near line 2 of script I3560474: > > > > Win.Debug(Regex.PcreMatch("u", "utf8", "/u")) ;; Error > > > > > > > > Press Cancel to end all running scripts. > > > > --------------------------- > > > > OK Cancel > > > > --------------------------- > > > > > > > > > > > > > > > > > > --- In [email protected], "forxtra" <forxtra@> wrote: > > > > > > > > > > > > ;---------------------------------------------------- > > > > > > Local s = "utf8" > > > > > > Local p = "u" > > > > > > > > > > > > Win.Debug(Regex.PcreMatch(p, s, "u")) ;; Ok > > > > > > Win.Debug(Regex.PcreMatch(p, s, "/u")) ;; Error > > > > > > ;---------------------------------------------------- > > > > > > > > > > > > When including utf8 option prefixed by a "/", it throws error > > > > > > message. > > > > > > > > > > > > > > >
