Updated release tag for trunk changes 4328 to 4330.
[docutils.git] / tests / prest / helpers / retex
blob359ebf1b4bd63c9ab4a8663b47fe882cc3295ec5
1 #!/usr/local/bin/perl -p
3 # $Id: retex 757 2006-01-26 16:53:09Z marknodine $
5 # Converts an HTML file to a regular-expression HTML
7 # Protect regular expression characters (do this FIRST)
8 s/([\(\)\[\]\{\}\.\+\*\?\|\\\^\$\@\%])/\\$1/g;
10 # Don't require match on date
11 s/(\\date\\\{)(.*)(\\\})/$1($2|.*)$3/;