https://github.com/maksimr/path-to-regexp
Clojure library provided pattern matching for path
https://github.com/maksimr/path-to-regexp
clojure
Last synced: 6 months ago
JSON representation
Clojure library provided pattern matching for path
- Host: GitHub
- URL: https://github.com/maksimr/path-to-regexp
- Owner: maksimr
- License: gpl-3.0
- Created: 2022-04-03T09:28:18.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2026-01-19T13:13:22.000Z (6 months ago)
- Last Synced: 2026-01-19T19:42:40.774Z (6 months ago)
- Topics: clojure
- Language: Clojure
- Homepage:
- Size: 35.2 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# path-to-regexp

Library provided pattern matching for paths
## Installation
```clojure
io.github.maksimr/path-to-regexp {:git/sha "ce679995a01366f9e99cb18df8f7ca4d927a89a8"}
```
## Usage
```clojure
(require '[path-to-regexp.core :refer [match-path]])
(match-path "/user/:id" "/user/1")
=> {:id "1"}
```