mIRC Home    About    Download    Register    News    Help

Print Thread
#142511 18/02/06 01:11 PM
Joined: Apr 2004
Posts: 759
M
Hoopy frood
OP Offline
Hoopy frood
M
Joined: Apr 2004
Posts: 759
I'm having trouble using spaces as replacement text while using $regsubex (Awesome addition by the way)

Code:
//echo -a $!regsubex: $regsubex(+ab,/([+])/,\1 $chr(32)) | /noop $regsub(+ab,/([+])/,\1 $chr(32),%x) | echo -a $!regsub: %x

gives:
$regsubex: +ab
$regsub: + ab

Is this a bug or am i doing something wrong here ?


$maybe
#142512 18/02/06 01:32 PM
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
Looks like a bug indeed. Leading and trailing spaces aren't preserved.


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com

Link Copied to Clipboard