Permalink
Browse files

reindent

  • Loading branch information...
1 parent 43a40f5 commit c4030242abf60b7e71a07a4751082a6cf58e70aa @psychs committed Sep 13, 2011
@@ -1,3 +1,3 @@
#ifdef __OBJC__
- #import <Cocoa/Cocoa.h>
+ #import <Cocoa/Cocoa.h>
#endif
@@ -9,28 +9,28 @@
@class OnigResult;
typedef enum {
- OnigOptionNone = ONIG_OPTION_NONE,
- OnigOptionIgnorecase = ONIG_OPTION_IGNORECASE,
- OnigOptionExtend = ONIG_OPTION_EXTEND,
- OnigOptionMultiline = ONIG_OPTION_MULTILINE,
- OnigOptionSingleline = ONIG_OPTION_SINGLELINE,
- OnigOptionFindLongest = ONIG_OPTION_FIND_LONGEST,
- OnigOptionFindNotEmpty = ONIG_OPTION_FIND_NOT_EMPTY,
- OnigOptionNegateSingleLine = ONIG_OPTION_NEGATE_SINGLELINE,
- OnigOptionDontCaptureGroup = ONIG_OPTION_DONT_CAPTURE_GROUP,
- OnigOptionCaptureGroup = ONIG_OPTION_CAPTURE_GROUP,
-
- /* options (search time) */
- OnigOptionNotbol = ONIG_OPTION_NOTBOL,
- OnigOptionNoteol = ONIG_OPTION_NOTEOL,
- OnigOptionPosixRegion = ONIG_OPTION_POSIX_REGION,
- OnigOptionMaxbit = ONIG_OPTION_MAXBIT
+ OnigOptionNone = ONIG_OPTION_NONE,
+ OnigOptionIgnorecase = ONIG_OPTION_IGNORECASE,
+ OnigOptionExtend = ONIG_OPTION_EXTEND,
+ OnigOptionMultiline = ONIG_OPTION_MULTILINE,
+ OnigOptionSingleline = ONIG_OPTION_SINGLELINE,
+ OnigOptionFindLongest = ONIG_OPTION_FIND_LONGEST,
+ OnigOptionFindNotEmpty = ONIG_OPTION_FIND_NOT_EMPTY,
+ OnigOptionNegateSingleLine = ONIG_OPTION_NEGATE_SINGLELINE,
+ OnigOptionDontCaptureGroup = ONIG_OPTION_DONT_CAPTURE_GROUP,
+ OnigOptionCaptureGroup = ONIG_OPTION_CAPTURE_GROUP,
+
+ /* options (search time) */
+ OnigOptionNotbol = ONIG_OPTION_NOTBOL,
+ OnigOptionNoteol = ONIG_OPTION_NOTEOL,
+ OnigOptionPosixRegion = ONIG_OPTION_POSIX_REGION,
+ OnigOptionMaxbit = ONIG_OPTION_MAXBIT
} OnigOption;
@interface OnigRegexp : NSObject
{
- regex_t* _entity;
- NSString* _expression;
+ regex_t* _entity;
+ NSString* _expression;
}
+ (OnigRegexp*)compile:(NSString*)expression;
@@ -59,10 +59,10 @@ typedef enum {
@interface OnigResult : NSObject
{
- OnigRegexp* _expression;
- OnigRegion* _region;
- NSString* _target;
- NSMutableArray* _captureNames;
+ OnigRegexp* _expression;
+ OnigRegion* _region;
+ NSString* _target;
+ NSMutableArray* _captureNames;
}
- (NSString*)target;
Oops, something went wrong.

0 comments on commit c403024

Please sign in to comment.