| { |
| "name": "RegExCategories", |
| "version": "1.0", |
| "summary": "Categories on NSRegularExpression that make regular expressions more concise in Objective-C.", |
| "description": "This project makes regular expressions easy in Objective-C.\nHere is an example where four lines of code become one:\n\n// Without this library\nNSString* string = @\"I have 2 dogs.\";\nNSRegularExpression *regex = [NSRegularExpression regular ExpressionWithPattern:@\"\\d+\" options:NSRegularExpressionCaseInsensitive error:&error];\nNSTextCheckingResult *match = [regex firstMatchInString:string options:0 range:NSMakeRange(0, [string length])];\nBOOL isMatch = match != nil;\n\n// With this library\nBOOL isMatch = [@\"I have 2 dogs.\" isMatch:RX(@\"\\d+\")];\n\n", |
| "homepage": "https://github.com/bendytree/Objective-C-RegEx-Categories", |
| "license": { |
| "type": "MIT", |
| "file": "LICENSE.txt" |
| }, |
| "authors": { |
| "Josh Wright": "josh@joshwright.com" |
| }, |
| "source": { |
| "git": "https://github.com/bendytree/Objective-C-RegEx-Categories.git", |
| "tag": "v1.0" |
| }, |
| "platforms": { |
| "ios": "4.0", |
| "osx": "10.6" |
| }, |
| "source_files": "*.{h,m}", |
| "requires_arc": true |
| } |