_bug0026 >> _bug0023 >> Categories >> _bug0024 >> _bug0018 

TB Wiki

Login

mobile.header 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
<title>.* -
<title>TEST -
}}}

TBWiki engine 2.0.1 by Tim Bird