Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > General

Reply
 
Thread Tools Display Modes
  #1  
Old 01-09-2020, 01:54 PM
dmaker dmaker is offline
Registered User
 
Join Date: Dec 2019
Posts: 22
Different color per ip address class?

Hi, I'm using 8.7 beta (today's release) on Windows 10 and would love to use keyword highlighting so that I can have a different color for ClassA, B, and C address ranges.

Is that possible? I've spent a fair bit of time trying to google and find examples/answers, but not really getting anywhere.


Thank you!
Reply With Quote
  #2  
Old 01-09-2020, 02:27 PM
dmaker dmaker is offline
Registered User
 
Join Date: Dec 2019
Posts: 22
Actually, what I would like may be slightly easier.

I would like to be able to do something like this:


10.*.*.* = color1
X.Y.*.* = color2
172.16.*.*= color3
Reply With Quote
  #3  
Old 01-09-2020, 02:38 PM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,436
Hi dmaker,

What are you having the difficulty with?

Developing the regular expressions to flag the data?
Quote:
10.*.*.* = color1
X.Y.*.* = color2
172.16.*.*= color3
Are the *s only ever digits in all cases?

Please provide some examples of what the actual data might look like.
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
  #4  
Old 01-09-2020, 04:48 PM
dmaker dmaker is offline
Registered User
 
Join Date: Dec 2019
Posts: 22
Hi, what I would like to do is have any ip address that starts with 10. be one color, and address that starts with 172.16 anything be another color, and our public address space be another color. We have a /16 so X.Y. anything be another color.

I just really have no idea how to do this.

I assume it's possible?

Thanks
Reply With Quote
  #5  
Old 01-10-2020, 07:13 AM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,436
Hi dmaker,

You should watch the YouTube video on keyword highlighting.

The specific regular expressions to add to your keyword list that should work for your scenario is:

10\.\d*\.\d*\.\d*
X\.Y\.\d*\.\d*
172\.16\.\d*\.\d*
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
  #6  
Old 01-10-2020, 08:56 AM
dmaker dmaker is offline
Registered User
 
Join Date: Dec 2019
Posts: 22
Hi, thank you for the response. I will check out that video when I have a moment.

I added your suggestions and it worked fine. It took me two tries to realize I needed to set them to regex


Thank you!


EDIT: on a related note, is there a way to make text blink?

Last edited by dmaker; 01-10-2020 at 11:42 AM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 08:09 PM.