2014年5月29日
摘要: 使用的是posix 正则库,参考: http://see.xidian.edu.cn/cpp/html/1428.html 执行匹配的时: gcc myreg.c ip.pat 内容: ip.*[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+ ip.txt 内容: 192.168.1.1 阅读全文
posted @ 2014-05-29 17:01 欢跳的心 阅读(362) 评论(0) 推荐(0) 编辑