diff --git a/src/Utils.js b/src/Utils.js index 7b78eeb..af5f1db 100644 --- a/src/Utils.js +++ b/src/Utils.js @@ -854,7 +854,7 @@ utilities: { me.HostPort_match = new RegExp("^(" + IPV4_REGEXP + "|" + DnsName_REGEXP + ")(?::(\\d+))?$"); me.HostPortBrackets_match = new RegExp("^\\[(" + IPV6_REGEXP + "|" + IPV4_REGEXP + "|" + DnsName_REGEXP + ")\\](?::(\\d+))?$"); me.IP6_dotnotation_match = new RegExp("^(" + IPV6_REGEXP + ")(?:\\.(\\d+))?$"); - me.Vlan_match = /^vlan(\\d+)/; - me.VlanInterface_match = /(\\w+)\\.(\\d+)/; + me.Vlan_match = /^vlan(\d+)/; + me.VlanInterface_match = /(\w+)\.(\d+)/; }, });