crossroadlabs / PathToRegex

A Swift library translating paths with wildcards into regular expressions
GNU General Public License v3.0
7 stars 7 forks source link

PathToRegex

🐧 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