📜  ip 正则表达式 python 代码示例

📅  最后修改于: 2022-03-11 14:45:04.324000             🧑  作者: Mango

代码示例2
# Note that '^' at the beginning is optional
r'^((25[0-5]|2[0-4][0-9]|[01]?[0-9]{1,2})\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]{1,2})'