mIRC Home    About    Download    Register    News    Help

Print Thread
#220871 01/05/10 06:09 PM
Joined: May 2010
Posts: 2
A
Bowl of petunias
OP Offline
Bowl of petunias
A
Joined: May 2010
Posts: 2
I suppose this goes here.

Okay, I would like to use this RegEx as a highlight within mIRC 6.34.
Code:
$regex($1-,/\b(Blah|Blahh|Blahhh)\b/\Si)

How would I go about adding that to the Address book's highlights tab? It always returns * Invalid format: $regex
Note: Blah, Blahh and Blahhh aren't the real highlights.

Thank you smile

Last edited by Anonymity; 01/05/10 06:54 PM.
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
I don't have 6.34 installed on this system any longer, but I don't think it's any different from 6.35

That said, here are the instructions.
1) Press Alt+B to open the Address Book
2) Click on the Highlights tab
3) Enable Highlights
4) Click Add (or select an entry and click Edit)
5) In the edit box at the top enter your regex code
6) Check the Regex box
7) Make any other alterations/setting changes as available in the dialog box.
8) Click OK

Note: If your regex formula is incorrect, the above will not correct it. You'll have to correct it first.

Joined: May 2010
Posts: 2
A
Bowl of petunias
OP Offline
Bowl of petunias
A
Joined: May 2010
Posts: 2
Edit: Managed to fix it.
Thank you for your help.

Last edited by Anonymity; 01/05/10 08:36 PM.

Link Copied to Clipboard