![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Regex
fantaxy025025
Challenge everything !
Thinking in yourself!
Study study study !
展开
-
正则表达式
抓网页,用dom很不容易,看有几个网站是100%规矩的~ 用正则,经过试验,是最快的。(指定网页,指定内容) #一个不错的文档 http://hi.baidu.com/personnel/blog/item/398142a7e792b795d0435822.html http://hi.baidu.com/personnel/blog/item/6ac534a8ac7ef2...原创 2011-03-01 21:20:58 · 84 阅读 · 0 评论 -
驼峰格式和下划线格式转换_translation between camel and snake format
驼峰格式和下划线格式转换_translation between camel and snake format #1 驼峰转下划线格式 这个我一开始找了找现成的方法,比如这里:http://www.iteye.com/topic/1118302,但一眼看过去就非常的麻烦,难道这个操作要写好几十行代码么,我可很懒哦。 后来想到用正则直接处理。 >> $clas...原创 2012-09-28 22:58:32 · 375 阅读 · 0 评论