Latest 0.3.0
Homepage https://github.com/crossroadlabs/PathToRegex
License LGPL v3
Platforms ios 8.0, osx 10.9, tvos 9.0, watchos 2.0
Dependencies CrossroadRegex
Authors

🐧 linux: ready
![GitHub license](https://img.shields.io/badge/license-LGPL v3-lightgrey.svg)
Carthage compatible
Platform OS X | Linux
Build Status
GitHub release

A Swift library translating paths with wildcards like /api/user/:name or /api/user/* into regular expressions.

Background

The main goal of PathToRegex is to add a great routing mechanism to SwiftExpress – web application framework for Swift.

PathToRegex is based on Path-to-RegExp JavaScript library. Thanks a lot, guys!

Contributing

To get started, sign the Contributor License Agreement.

Crossroad Labs by Crossroad Labs

Latest podspec

{
    "name": "PathToRegex",
    "version": "0.3.0",
    "summary": "A Swift library translating paths with wildcards into regular expressions",
    "homepage": "https://github.com/crossroadlabs/PathToRegex",
    "license": {
        "type": "LGPL v3",
        "file": "LICENSE"
    },
    "authors": {
        "Crossroad Labs": "[email protected]"
    },
    "source": {
        "git": "https://github.com/crossroadlabs/PathToRegex.git",
        "tag": "0.3.0"
    },
    "source_files": "PathToRegex/**/*.swift",
    "platforms": {
        "ios": "8.0",
        "osx": "10.9",
        "tvos": "9.0",
        "watchos": "2.0"
    },
    "dependencies": {
        "CrossroadRegex": [
            "~> 0.7.0"
        ]
    }
}

Pin It on Pinterest

Share This