首页 > 其他 > 详细

Blog publish demo

时间:2014-03-16 06:01:53      阅读:546      评论:0      收藏:0      [点我收藏+]

This is a demo test for the publishment of my bolg.

Code test:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
/**
* 从一段文本中检索出唯一的结果
* @param regx 正则表达式语句
* @param text 要检索的文本
* @return
*/
public String regx(String regx,String text)
{
Matcher matcher=Pattern.compile(regx).matcher(text);
if(matcher.find())
return matcher.group();
else
return null;
}
bubuko.com,布布扣
/**
* 从一段文本中检索出唯一的结果
* @param regx 正则表达式语句
* @param text 要检索的文本
* @return
*/
public String regx(String regx,String text)
{
Matcher matcher=Pattern.compile(regx).matcher(text);
if(matcher.find())
return matcher.group();
else
return null;
} 
bubuko.com,布布扣

picture test:

bubuko.com,布布扣

Blog publish demo,布布扣,bubuko.com

Blog publish demo

原文:http://www.cnblogs.com/miaomao/p/3600688.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!