- 论坛徽章:
- 0
|
redhat linux:
在redhat下我把最原始的html文本处理为如下类似原文件的信息,接下来就一时想不出好方法继续处理了,所以来这里求助!
原文本:
<span class="date">2005-10-24 14:20</span>
<strong>new_jsp/claim/endcase/visitback</strong>:
visitback.jsp <span class="change">(+63 -7)</span>,
visitbackdetail.jsp <span class="change">(+214 -16)</span>
visitbackdetail.jsp.LCK <span class="new">(new 1)</span>,
visitbackdetail.jsp.bak <span class="new">(new 323)</span>
需要处理为:
2005-10-24 14:20 new_jsp/claim/endcase/visitback visitback.jsp change +63 -7
2005-10-24 14:20 new_jsp/claim/endcase/visitback visitbackdetail.jsp change +214 -16
2005-10-24 14:20 new_jsp/claim/endcase/visitback visitbackdetail.jsp.LCK new 1
2005-10-24 14:20 new_jsp/claim/endcase/visitback visitbackdetail.jsp.bak new 323
在这里先谢谢啦,帮个忙!
[ 本帖最后由 kenny.ding 于 2006-2-6 10:11 编辑 ] |
|