public static void main(String args[]) {
String str="For my money, the important thing "+"about the meeting was bridge-building";
String regEx="([a-zA-Z0-9]|[_])*";
Pattern p=Pattern.compile(regEx);
Matcher m=p.matcher(str);
boolean result=m.find();
System.out.println(result);
}如何调用main方法测试?
String str="For my money, the important thing "+"about the meeting was bridge-building";
String regEx="([a-zA-Z0-9]|[_])*";
Pattern p=Pattern.compile(regEx);
Matcher m=p.matcher(str);
boolean result=m.find();
System.out.println(result);
}如何调用main方法测试?
解决方案 »
- 关于srtuts2标签从action拿值的问题
- 求救:在struts+jsp+mysql 开发环境中,jsp如何调用word模板并在相应位置填写查询到的数据并打印
- 在线救答案-jsp与sqlwerver中文问题
- jsp表单中的数据提交到第三方的接口中,获取返回的页面中的数据后在一个新的页面中显示
- 在Firefox中如何通过鼠标拖动改变层的大小
- 如何用JSP页面传递复选框值并操作数据库呢?
- 在JSP中,<select name="select">写,调用数据库调不出来!谢谢!
- 为什么我用jsp访问不到bean的属性???[100分,在线结帖]
- 请问应用处理逻辑是放在JSP中做好还是放在SERVLET(JAVABEAN)中处理好???
- Jquery+ajax+json怎么实现前后台传值
- jsp 排序 不连接数据库
- 哪位仁兄知道csdn的登录时怎么实现的?
或者直接在main方法里就能测试了啊!