Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
25% Recurring Discount on NVMe VPS
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
CloudLinux
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

MobaXterm IPv6 syntax highlight

I like MobaXterm, really neat and helpful, has most tools in one place.
the highlighting feature is great. but for me, it's missing the ipv6/prefix regex syntax.

I tried many syntaxes some are valid but Moba doesn't like it for some reason.

([a-f0-9:]+:+)+[a-f0-9]+

^([0-9A-Fa-f]{0,4}:){2,7}([0-9A-Fa-f]{1,4}$|((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(\.|$)){4})$

Is anyone using MobaXterm and have ipv6 functional hilighting syntax

or any regex beast can help me out ?

for reference, the ipv4/mac address syntax works fine

[^A-Za-z0-9]([0-9a-f][0-9a-f](:|-)[0-9a-f][0-9a-f](:|-)[0-9a-f][0-9a-f](:|-)[0-9a-f][0-9a-f](:|-)[0-9a-f][0-9a-f](:|-)[0-9a-f][0-9a-f]|localhost|([1-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-4])\.[0-9]+\.[0-9]+\.[0-9]+|vlan[0-9]+|([a-z]+thernet|gi)[0-9]+(\/[0-9]+)*)[^A-Za-z0-9]

Comments

  • @mezoology said: ([a-f0-9:]+:+)+[a-f0-9]+

    This one seems pretty valid. Can you give an example of an ip6 that does not capture?

  • yes, that is one of many that are valid, but it doesn't work on MOBA. this one leaves the 2 letters on both sides

  • Try leave a space character in front and back " ([a-f0-9:]+:+)+[a-f0-9]+ " (without the quotes)

    They seem to have some idiotic syntax in their regex

  • yup, that helped, thanks a lot. buddy.

    I prefer to do anything stupid all day than try fixing black magic.

Sign In or Register to comment.