读书人

Komodo Edit 七的正则表达式的使用

发布时间: 2012-10-05 15:34:33 作者: rapoo

Komodo Edit 7的正则表达式的使用
//替换前ACTIVITYIDSERVICEIDNAMEACTIVITYTYPEKEYFLAGRETURNDOC//ctrl+h调用Find对话框Find what:(\w+)Replace with: p_nt_operareconlist(i).\1:=cur.\1;
//替换后p_nt_operareconlist(i).ACTIVITYID:=cur.ACTIVITYIDp_nt_operareconlist(i).SERVICEID:=cur.SERVICEIDp_nt_operareconlist(i).NAME:=cur.NAMEp_nt_operareconlist(i).ACTIVITYTYPE:=cur.ACTIVITYTYPEp_nt_operareconlist(i).KEYFLAG:=cur.KEYFLAGp_nt_operareconlist(i).RETURNDOC:=cur.RETURNDOC
//komodo edit正则表达式比editplus强大,但是我跟editplus比较了一下名称 ? ? ? ? ? ? ? ? ? ?大小 ? ? ? ? ?内存editplus V3.14 ? ? ? ? ?8MB ? ? ? ? ? ? 4MBkomodo edit7.1 ? ? ? ? ?198MB ? ? ? ? ? 108MB选择那个,自己看吧官网下载地址(http://www.activestate.com/komodo-edit/downloads)

读书人网 >开源软件

热点推荐