CocoaOniguruma
CocoaOniguruma is an Objective-C binding of Oniguruma regular expression engine.
It's simple and tiny compared to the other bindings.
Download
git clone git://github.com/psychs/cocoaoniguruma.git
How to use
CocoaOniguruma is provided as assorted source files primarily.
Follow the steps to use CocoaOniguruma in your project.
- Copy "core" directory into your project directory with name "CocoaOniguruma".
- Open your project by Xcode.
- Add all .h, .c and .m files under "Classes".
- Import the header file, so you can use CocoaOniguruma.
#import "OnigRegexp.h"
How to use as a Framework
You can see "framework" directory next to "core" directory.
- Build the project under "framework" directory.
- Copy "CocoaOniguruma.framework" into your project.
- Open your project by Xcode.
- Add the framework to your project under "Frameworks/Other Frameworks".
- Open "Targets" in the project tree.
- Double click on the application target and add a "New Copy Files Build Phase".
- Drag "CocoaOniguruma.framework" into the new "Copy Files" phase.
- Import the header file, so you can use CocoaOniguruma.
#import "CocoaOniguruma/OnigRegexp.h"
The Author
- Satoshi Nakagawa http://limechat.net/psychs/
License
The revised BSD license.
See also the Oniguruma's COPYING file.
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)