_bug0019 >> _bug0003 >> DocLinks >> _bug0020 >> _bug0025 

TB Wiki

Login

Site UP-chart transforms in 'raw' format

A transform block consists of lines, where every 2 lines is a transform
The first line of each transform is a pattern, and the second is the
replacement.  These are passed to re.sub, like so:
re.sub(pattern, replacement, page_data)

Here is the set of transforms for the mobile.header page

these ignore the value of the title field on the page, which changes depending
on the Regression_Test* page being used to initiate the test

{{{transforms
Current time: .*
Current time: YYYY-MM-DD_HH:mm:ss.ss
}}}

TBWiki engine 2.0.1 by Tim Bird