Latest 0.3.0
License LGPL v3
Platforms ios 8.0, osx 10.9, tvos 9.0, watchos 2.0
Dependencies CrossroadRegex

🐧 linux: ready
![GitHub license]( 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.


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!


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": "",
    "license": {
        "type": "LGPL v3",
        "file": "LICENSE"
    "authors": {
        "Crossroad Labs": "[email protected]"
    "source": {
        "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