summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-07-31 13:53:36 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2020-07-31 13:53:36 (GMT)
commitb38738a4efd5d87c5344b066b92fda182bdb66b3 (patch)
treeece896ca7a557e2487feeb1a51b89bf4e2febb9c /templates
parent8679c158eb79236de4e82758b88bb45605273ac9 (diff)
downloadDoxygen-b38738a4efd5d87c5344b066b92fda182bdb66b3.zip
Doxygen-b38738a4efd5d87c5344b066b92fda182bdb66b3.tar.gz
Doxygen-b38738a4efd5d87c5344b066b92fda182bdb66b3.tar.bz2
Minors tweaks to the regular expressions
Diffstat (limited to 'templates')
-rwxr-xr-xtemplates/html/bib2xhtml.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/html/bib2xhtml.pl b/templates/html/bib2xhtml.pl
index 8d2b9b2..ca40b5f 100755
--- a/templates/html/bib2xhtml.pl
+++ b/templates/html/bib2xhtml.pl
@@ -198,7 +198,7 @@ while (<BBLFILE>) {
next loop;
}
$nentry++;
- ($bcite, $blabel) = m+<dt><a[ \n][ \n]*name=\"([^\"]*)\">\[([^\]]*)\]</a></dt><dd>+;
+ ($bcite, $blabel) = m:<dt><a\s+name=\"([^\"]*)\">\[([^\]]*)\]</a></dt><dd>:;
$blabel = "$nentry";
$bibcite{$bcite} = $blabel;
}
@@ -222,7 +222,7 @@ while (<BBLFILE>) {
}
s/\%\n//g;
s/(\.(<\/cite>|<\/a>|\')+)\./$1/g;
- s:(<dt><a[ \n][ \n]*name=\"[^\"]*\">\[)[^\]]*(\]</a></dt><dd>):$1$nentry$2:;
+ s:(<dt><a\s+name=\"[^\"]*\">\[)[^\]]*(\]</a></dt><dd>):$1$nentry$2:;
while (m/(\\(cite(label)?)(\001\d+)\{([^\001]+)\4\})/) {
$old = $1;
$cmd = $2;