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
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.