mIRC Home    About    Download    Register    News    Help

Print Thread
#228563 30/12/10 01:39 PM
Joined: May 2006
Posts: 27
A
Ameglian cow
OP Offline
Ameglian cow
A
Joined: May 2006
Posts: 27
//echo -a $regsubex(é,/./g,é)
returning éé

edit.: maybe can be a bug with utf-8
//echo -a $regsubex(é,/./,é) return é©

Last edited by Asterix_UO; 30/12/10 01:41 PM.

Suchorski @ FreeNode
Joined: Jul 2006
Posts: 4,145
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,145
mIRC is now an unicode application so the string is send to the regex engine in utf-8, you can force the engine to interpret utf8 before matching : //echo -a $regsubex(é,/(*UTF8)./,à)



#mircscripting @ irc.swiftirc.net == the best mIRC help channel

Link Copied to Clipboard