--- In [email protected], "entropyreduction" 
<alancampbelllists+ya...@...> wrote:
>
> Okay, try
> 
> regexPlugin091006.zip
> in
> http://tech.groups.yahoo.com/group/power-pro/files/0_TEMP_/AlansPluginProvisional/
> 
> Changed date but not version number.
> 

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.
> > >
> >
>


Reply via email to