---
title: "Komodo Edit 7的正则表达式的使用"
author: "javaEEdevelop"
date: "2012-09-20T15:04:47Z"
tags: []
categories: ["开源软件"]
slug: "komodo-edit-7"
draft: false
lastmod: "2012-09-20T15:06:25Z"
id: 1682355
url: "https://javaeedevelop.iteye.com/blog/1682355"
---

//替换前

ACTIVITYID

SERVICEID

NAME

ACTIVITYTYPE

KEYFLAG

RETURNDOC

//ctrl+h调用Find对话框

Find what:(\\w+)

Replace with: p\_nt\_operareconlist(i).\\1:=cur.\\1;

//替换后

p\_nt\_operareconlist(i).ACTIVITYID:=cur.ACTIVITYID

p\_nt\_operareconlist(i).SERVICEID:=cur.SERVICEID

p\_nt\_operareconlist(i).NAME:=cur.NAME

p\_nt\_operareconlist(i).ACTIVITYTYPE:=cur.ACTIVITYTYPE

p\_nt\_operareconlist(i).KEYFLAG:=cur.KEYFLAG

p\_nt\_operareconlist(i).RETURNDOC:=cur.RETURNDOC

//komodo edit正则表达式比editplus强大，但是我跟editplus比较了一下

名称                    大小          内存

editplus V3.14          8MB             4MB

komodo edit7.1          198MB           108MB

选择那个，自己看吧

官网下载地址([http://www.activestate.com/komodo-edit/downloads](http://www.activestate.com/komodo-edit/downloads))