求一个正则表达式,为每一行增加行号. 最好是js的.
如:
if(page_id == current_page){ lnk = $("<span class='current'>" + appendopts.text + "</span>");}
处理后:
1 if(page_id == current_page){2 lnk = $("<span class='current'>" + appendopts.text + "</span>");3 }
添加回答
举报
0/150
提交
取消