代码如下: import re re.search(r([1]\d\d|2[0-4]\d|25[0-5]),192) #re.search(r([01]\d\d),1XX) #[01] \d \d# 1 0-9 0-9 #re.search(r(2[0-4]\d),2XX) #2 [0-4] \d#2 0-4 0-9 #re.search(r(25[0-5]),25X)#25 [0-5] #25 0-5 re.search(r(([01]{0,1}\d{0,1}\d
代码如下:
备注:255.255.255.255为广播地址;0.0.0.0保留地址 |
2019-06-18
2019-07-04
2021-05-23
2021-05-27
2021-05-27