sponsor Vim development Vim logo Vim Book Ad

Subnet Search : Match all IP addresses withing a given IPv4 CIDR address block

 script karma  Rating 0/0, Downloaded by 1237  Comments, bugs, improvements  Vim wiki

created by
John Biederstedt
 
script type
utility
 
description
This utility will produce a regular expression that matches all IP addresses within a given subnet, then execute that search.  When invoked, it will ask for a CIDR (172.16.24.0/28 for example) subnet address.  It requires python 2.7, and the backported ipaddress module, and vim compiled with python support.

For animated gif, see github repo at https://github.com/johnbiederstedt/subnetsearch
 
install details
Place it in your plugins directory.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
subnetsearch.vim .02 2017-07-21 7.4 John Biederstedt Compensated for arbitrary unicode errors that popup in the mainline python2.7 ipaddress module
subnetsearch.vim .01 2016-10-22 7.4 John Biederstedt Included GPL2
ip used for rating: 54.221.159.188

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github