in reply to I THOUGHT I'd finally understood regex

Keep in mind that 172.16 is a /12 block and not /16 as your code would seem to suggest.

The quick and dirty fix is to include 172.17, 127.18 etc up to 172.31 but I would definitely use the suggested CPAN module instead if I were you.

-- FloydATC

I got 99 problems, most of them have to do with printers.

  • Comment on Re: I THOUGHT I'd finally understood regex

Replies are listed 'Best First'.
Re^2: I THOUGHT I'd finally understood regex
by JEDtoo (Novice) on Jan 09, 2018 at 16:07 UTC
    Good point. Yes, I HAD forgotten that. Thanks!