Vim Regex
Vim编辑器的高频操作
查找
Use \< and \> for word start and word end, respectively
- /"[a-zA-Z0-9\/\.]\+"
- 匹配路径字符串
替换
:%s/U\(\w*\)\(Property\)/F\1\2/g
- 将UPropery,UBytePropery,UUint32Property等分别替换为FPropery,FByteProperty,FUint32Property。当分组里有冒号时,应该将用于分组的小括号转义