mIRC Home    About    Download    Register    News    Help

Print Thread
#44968 30/08/03 01:26 AM
Joined: Dec 2002
Posts: 77
B
Babel fish
OP Offline
Babel fish
B
Joined: Dec 2002
Posts: 77
I think this is a bug, unless anyone can advise otherwise.

If I try and search for $chr(3) by using the regex method of $fline it fails to match, but if I do the same using the old wildcard method a match is found. For example...

/window -l @test
//aline @test $+($chr(3), 04, Hello World)

[email]...@test[/email] window created and a line added saying 'Hello World' in red.

//echo -a Wildcard: $fline(@test, $+(*, $chr(3), *), 1) Regex: $fline(@test, /\x3/, 1, 2)

..this returns 'Wildcard: 1 Regex:' ...I'd expect them both to return 1.

$fline(@test, /Hello/, 1, 2) also fails, but $fline(@test, /Hello/i, 1, 2) or $fline(@test, /ello/, 1, 2) matches.

#44969 30/08/03 01:57 AM
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
Yep, I can reproduce all of them. Also , /hello/ matches, even though /i isn't specified. In the meantime, $+(/,$chr(3),/) works and can be used instead of /\x03/ until the bugfix version.


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

Link Copied to Clipboard