摘要: 原文地址:https://www.cnblogs.com/jun9207/p/5191857.html 如果不是刚刚复习了下正则表达式,我可能也不会注意到,原来String的replaceAll跟replaceFirst用到了正则表达式! 不多解释,看代码: String s = "my.test. 阅读全文
posted @ 2018-03-16 16:21 hanggle 阅读(262) 评论(0) 推荐(0)