Search multiple strings in Xcode

旧街凉风 提交于 2019-12-25 08:33:53

问题


Is there any way that I can search something like string1 || string2 in my Xcode project and or in a single file?

When doing such I want Xcode to highlight wherever it finds string1 OR string2.


回答1:


Yes, you can just use a regular expression, e.g. string|string2.

For multiple file search across whole project:

For single file search then just use the normal find and change the Find Options from Textual to Regular Expression:



来源:https://stackoverflow.com/questions/39641774/search-multiple-strings-in-xcode

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!