Introduction
transmogrify.regexp allows you to use regular expressions and format strings to search and replace key values in a transmogrifier pipeline.
Installation
Usage
Sample usage:
[apply_regexp] blueprint = transmogrify.regexp key = _path expression = /(.*)/(\d\d\d\d)/(\d\d)/(\d\d)/(.+)/index.html format = %%s/%%s-%%s%%s%%s.html order = 0,4,1,2,3
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file transmogrify.regexp-0.5.0.tar.gz.
File metadata
- Download URL: transmogrify.regexp-0.5.0.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b32181e1d26bc9c29cbad22fbd222f65ac9a8a5d4a794acdca6b6e132b3fa4c9
|
|
| MD5 |
e2d9e66f423a26606028bc87fbefc13f
|
|
| BLAKE2b-256 |
adb197ca8a86382771a840e478e170323a8d67099e86c97b90d19e675e90d0bf
|