摘要: #include #include #include #include #include /* 编译命令: gcc -o test test.c 执行命令: ./test "192.168.1.1" 编写正则表达式 */ #define IP_V4_PATTERN \ "^([0-9]|[1-9][0-9]|1[0-9]{1,2}|2[0-4][0-9]|25[0-5])\ .(... 阅读全文
posted @ 2018-08-22 14:36 Chris83 阅读(1372) 评论(0) 推荐(0) 编辑