in reply to Re^2: Regexp: Private IP Addresses
in thread Regexp: Private IP Addresses
No. There are similarities between all the solutions provided in this discussion (including between mine and that module's), but the module's solution is far from being exactly the same as any of mine.
According to the docs, it uses the binary representation of the address (a long string of zeros and ones), whereas all of my solutions work with the address as a native number (C long). That makes some of them byte-oriented and some of them mask-oriented, but none are bit-oriented like that module.
Mind you, any of the solutions in this discussion could be given the same interface as that module.