regex fix

This commit is contained in:
E. S. 2024-05-13 02:23:34 +00:00
parent de02fb6581
commit cc06ccad78

View File

@ -17,7 +17,7 @@ class markup {
else {
// collect references
$re = '/^<p>(\[([io]?\d{1,2})]) (.*?)<\/p>/m';
$re = '/^<p>(\[([io]?\d{1,2})]) (.*?)<\/p>/ms';
$result = preg_match_all($re, $html, $matches);
if (pcre_no_error($result)) {
$reftitles_map = [];