Page 1 of 1

how would i match non-valid mirc version replies?

Posted: Tue Dec 28, 2004 8:02 pm
by Winbots
I'm not good with regular expressions, so could someone help me?
How would I match anything that looks like a mirc version reply, but doesn't exactly match one of the replies given by mIRC...

for example it would match 'mIRC' or 'mIRC 6.16' but not 'mIRC v6.16 Khaled Mardam-Bey'...

Posted: Tue Dec 28, 2004 8:40 pm
by codemastr
Negative matches are, unfortunately, extremely difficult (the regex library we use does not yet support 'negative lookahead assertions.') What this means is, it would probably take me several hours to come up with the regex that you will need. Therefore, it is probably much easier to add the list of "invalid" results manually.