github.com/crossroadlabs/PathToRegex

A Swift library translating paths with wildcards into regular expressions


License
GPL-3.0

Documentation

PathToRegex

🐧 linux: ready GitHub license 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