开发者

how to write a regex that mathces "obj.xxx" and change it to "[del xxx]"

开发者 https://www.devze.com 2023-01-30 01:58 出处:网络
how to write a regex that matche开发者_高级运维s \"del.xxx\" and change it to \"[del xxx]\". while xxx can be anything ...

how to write a regex that matche开发者_高级运维s "del.xxx" and change it to "[del xxx]". while xxx can be anything ...

any idea ?

i want to change my property calls in XCode from obj.property to [obj property] through xcode find and replace..


Search for :

(del)\.(.{3})

Replace with :

[$1 $2]

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号