skip to navigation
skip to content

transmogrify.regexp 0.3.0

Modify key values by applying a regular expression

Latest Version: 0.5.0

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
 
File Type Py Version Uploaded on Size # downloads
transmogrify.regexp-0.3.0.tar.gz (md5) Source 2012-01-28 2KB 94