[Add] com-qqsdk-control-Tools 1.2.1
[CocoaPods.git] / Specs / b / 2 / e / RegExCategories / 1.0 / RegExCategories.podspec.json
blob4133b0e0fa754c1b4c951383d20726eaed8d14f9
2   "name": "RegExCategories",
3   "version": "1.0",
4   "summary": "Categories on NSRegularExpression that make regular expressions more concise in Objective-C.",
5   "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",
6   "homepage": "https://github.com/bendytree/Objective-C-RegEx-Categories",
7   "license": {
8     "type": "MIT",
9     "file": "LICENSE.txt"
10   },
11   "authors": {
12     "Josh Wright": "josh@joshwright.com"
13   },
14   "source": {
15     "git": "https://github.com/bendytree/Objective-C-RegEx-Categories.git",
16     "tag": "v1.0"
17   },
18   "platforms": {
19     "ios": "4.0",
20     "osx": "10.6"
21   },
22   "source_files": "*.{h,m}",
23   "requires_arc": true