紧急!help!!!便宜分,又高又好赚!谁能在今天解决,高分献给谁

wuyunzhou 2000-04-12 09:17:00
小弟虽然对VC较熟,无奈尚未接触JAVA,现因情况紧急,需哪位大虾帮我解决一道题,望在今日解决,可以把你们的答案MAIL 给我:georgewu@kinpobj.com.cn,高分答谢.
清仔细读题,按要求解答:
Write a standalone program for 'Regular Expression Search'.  Preferably using Java.

Input:    A (long) string and a regular expression
Output:  Print out the matching items.
Provide a testing case.
...全文
197 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
duker 2000-07-21
  • 打赏
  • 举报
回复
是不是java中使用Regular Expression ,去jakarta.apache.org上看看,在左边
仔细搜索,有一个“regxp”的联结,就是一个极好的package,open source的。
test case就自己写吧
Tommy Chang 2000-07-20
  • 打赏
  • 举报
回复
com.sun.server.util.regexp
这个包在java web server里面jws.jar,类名叫RE。

摘自
<Professional Java Server Programming>
457
www.wrox.com
ISBN: 1-861002-77-7
hoboman 2000-04-14
  • 打赏
  • 举报
回复
嘿嘿,有 source code for your business.
http://jedit.sourceforge.net/
in this project it used the regular expression package "gnu.regexp"
Just download the source code and extract the regexp


vive 2000-04-14
  • 打赏
  • 举报
回复
用jdk写词法分析器我倒很擅长,请说明详细要求(没看懂)
hoboman 2000-04-14
  • 打赏
  • 举报
回复
hi
你的问题我知道了,这是个大题目呀,可以说是个大的工程。这样吧。我把源程序Email to you.你仔细看看。
用jdk编程太难了,你应该用ide环境,这方面的东西很多,我倾向于用Jbuilder 看 http://www.borland.com/jbuilder
外面D版的光盘上也有的是,注意至少要3.0的才好。
Java 编程有点罗嗦,主要是配置方面的问题(编译,运行)
btw:
right click the gun.zip use the "extrat to folder" item of WinZip
extract the file to ./gnu/regexp folder.
read the souce code,you can find the way.
Got problem? Email me.

62,612

社区成员

发帖
与我相关
我的任务
社区描述
Java 2 Standard Edition
社区管理员
  • Java SE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧