--- In [email protected], "entropyreduction" 
<alancampbelllists+ya...@...> wrote:
>
> Sheri,
> 
> Try
> 
> regexPlugin090821.zip in 
> http://tech.groups.yahoo.com/group/power-pro/files/0_TEMP_/AlansPluginProvisional/
> 
> Which implements the unicode case options. Have had no time to
> test anyd away from development machine, so if it fails, could
> you send me a bit of script to exercise them? Ta. 

Maybe you posted the wrong one, none of them are doing anything at all.

local utext=unicode.new(?"Accoure à tes mâles accents")
local pat=?"[^a-zA-Z\r\n\x20]"
local repltext=regex.pcrereplace(pat, utext, ?"\n$X0\n", "utf8")
unicode.messagebox("Ok", unicode.from_utf8(repltext))
repltext=regex.pcrereplace(pat, utext, ?"\n$Y0\n", "utf8")
unicode.messagebox("Ok", unicode.from_utf8(repltext))
repltext=regex.pcrereplace(pat, utext, ?"\n$Z0\n", "utf8")
unicode.messagebox("Ok", unicode.from_utf8(repltext))
repltext=regex.pcrereplace(pat, utext, ?"\n=$0=\n", "utf8")
unicode.messagebox("Ok", unicode.from_utf8(repltext))
quit


Reply via email to