IP Address Validation

  • + 1 comment

    This regex: re.compile('([\da-f]{1,4}:){7}([\da-f]{1,4})', re.I) doesn't work on your python 3 (not even on decimal-digits-only addresses). It works on python 3.4 on windows. On your system I had to remove re.I flag to make it work.