--TEST--
Bug #41148 (pcre 7.0 regression)
--FILE--
";
$ligne_horizontale = $puce = $debut_intertitre = $fin_intertitre = '';
$cherche1 = array(
/* 0 */ "/\n(----+|____+)/S",
/* 1 */ "/\n-- */S",
/* 2 */ "/\n- */S",
/* 3 */ "/\n_ +/S",
/* 4 */ "/(^|[^{])[{][{][{]/S",
/* 5 */ "/[}][}][}]($|[^}])/S",
/* 6 */ "/(( *)\n){2,}(
)?/S",
/* 7 */ "/[{][{]/S",
/* 8 */ "/[}][}]/S",
/* 9 */ "/[{]/S",
/* 10 */ "/[}]/S",
/* 11 */ "/(
){2,}/S",
/* 12 */ "/
([\n]*( ",
/* 7 */ "",
/* 8 */ "",
/* 9 */ "",
/* 10 */ "",
/* 11 */ " ",
/* 12 */ " ",
/* 13 */ " ",
/* 14 */ " "
);
$letexte = preg_replace($cherche1, $remplace1, $letexte);
$letexte = preg_replace("@^
)*)*/S",
/* 13 */ "//S",
/* 14 */ "/<\/quote>/S"
);
$remplace1 = array(
/* 0 */ "\n\n$ligne_horizontale\n\n",
/* 1 */ "\n
— ",
/* 2 */ "\n
$puce ",
/* 3 */ "\n
",
/* 4 */ "\$1\n\n$debut_intertitre",
/* 5 */ "$fin_intertitre\n\n\$1",
/* 6 */ "
@S", "", $letexte);
print $letexte;
?>
--EXPECT--