Try
 
regexPlugin090824.zip in 
http://tech.groups.yahoo.com/group/power-pro/files/0_TEMP_/AlansPluginProvisional/

In forgot to alter the pattern you provided for matching
replacement patterns, now

 LPSTR pszPatternCaptures = 
  
"(?s)\\\\\\\\|\\\\\\$|\\\\[0-9]|\\$(?:U|u|L|l|T|t|X|x|Y|y|Z|z)?\\d{1,3}|\\$(?:U|u|L|l|T|t|X|x|Y|y|Z|z)?<[A-Za-z_1-9]{1,32}>|\\$\\#";


Script below does something, not sure if what you want.

--- In [email protected], "silvermoonwoman2001" <sheri...@...> wrote:
>
 
> 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