| { |
| "name": "SwiftRegex", |
| "version": "1.0.0", |
| "summary": "A simple Swift NSRegularExpression library", |
| "platforms": { |
| "osx": "10.10" |
| }, |
| "description": "SwiftRegex is a simple wrapper around the Foundation NSRegularExpression API.\nIt provides the following methods:\n\n* `test()` -- checks to see if the passed-in string matches the regex.\n* `match()` -- returns an array of Match structs, each containing\n one match of the regex against the target string. Each match contains\n a number of subgroups, if any were present in the regex.\n* `replace()` -- wraps the NSRegularExpression string-replacement API.\n\nThe Regex struct also conforms to `StringLiteralConvertible` for easy creation.\n", |
| "homepage": "http://github.com/wjk/SwiftRegex", |
| "license": { |
| "type": "MIT", |
| "file": "LICENSE.md" |
| }, |
| "authors": "William Kent", |
| "source": { |
| "git": "https://github.com/wjk/SwiftRegex.git", |
| "tag": "1.0.0" |
| }, |
| "source_files": "SwiftRegex/*.swift", |
| "requires_arc": true |
| } |