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/;