#!/usr/bin/perl -w use strict; use ROBOTest; ROBOTest::start("HTML Special Char Test"); # In the headers there are three bad names # bad1&bad1 # bad2>>bad2 # and # bad3<) { if ($line =~ m/bad\d([^b]+)bad/) { my $string = $1; if (($string eq ">>") or ($string eq "<<") or ($string eq "&")) { ++$count; } } } ROBOTest::assert($count == 0); ROBOTest::finish;