Fix regexes

 - net.py: A MAC address can be separated using periods
 - manage.py: Use regex range
Merge pull request #8044 from holmboe/regexp-changes

Fix regexes