Regex solution for Objective-C

前端 未结 7 1729
没有蜡笔的小新
没有蜡笔的小新 2020-12-13 11:25

What is the best method for using Regular Expressions within Objective-C?

There seems to be some open source project that provide regex

7条回答
  •  天涯浪人
    2020-12-13 11:45

    Try the official NSRegualExpression that's available since iOS 4.0:

    http://developer.apple.com/library/ios/#documentation/Foundation/Reference/NSRegularExpression_Class/Reference/Reference.html

提交回复
热议问题