- # See the file "subst.pl.test1" for how the following mess is derived
- # Unfortunately, inserting $re_directive's has made this even messier
- q{(<\/?(?:|(?:"(?:} . $re_directive . q{|[^"])*"|'(?:} . $re_directive . q{|[^'])*'|--(?:[^-]|-[^-])*--|(?:} . $re_directive . q{|[^-"'} . $etag . q{]|-[^-]))+))([} . $etag . q{])(.*)};
+ # This is no longer similar to the original regexp in subst.pl :-(
+ # Note that we don't want <> in compat mode; Mozilla knows about <
+ q{(<\/?(?:|(?:"(?:} . $re_directive . q{|[^"])*"|'(?:} . $re_directive . q{|[^'])*'|--(?:[^-]|-[^-])*--|(?:}
+ . $re_directive
+ . q{|(?!--)[^"'<>} . $etag . q{]))+))([} . $etag . q{])(.*)};