how would i match non-valid mirc version replies?

These are old archives. They are kept for historic purposes only.
Post Reply
Posts: 65
Joined: Wed Apr 21, 2004 12:26 am
Location: irc://

how would i match non-valid mirc version replies?

Post 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'...
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States

Post 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.
-- codemastr
Post Reply