diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-07-31 13:53:36 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2020-07-31 13:53:36 (GMT) |
commit | b38738a4efd5d87c5344b066b92fda182bdb66b3 (patch) | |
tree | ece896ca7a557e2487feeb1a51b89bf4e2febb9c | |
parent | 8679c158eb79236de4e82758b88bb45605273ac9 (diff) | |
download | Doxygen-b38738a4efd5d87c5344b066b92fda182bdb66b3.zip Doxygen-b38738a4efd5d87c5344b066b92fda182bdb66b3.tar.gz Doxygen-b38738a4efd5d87c5344b066b92fda182bdb66b3.tar.bz2 |
Minors tweaks to the regular expressions
-rwxr-xr-x | templates/html/bib2xhtml.pl | 4 |
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; |