使用正则表达式查找和替换setBackgroundImage

时间:2014-09-18 10:00:12

标签: ios iphone regex xcode nsregularexpression

这是我的目标。 我想在我的项目中搜索所有setBackgroundImage调用,并将其替换为

[button setBackgroundColor:fixedColor];

问题出在setBackgroundImage之后:图像名称在不同的地方有所不同。所以我无法一气呵成。

是否有可用于查找和替换的正则表达式?

0 个答案:

没有答案