From ab71d10c7d69c1e38e81dd67c0742db206bc8838 Mon Sep 17 00:00:00 2001 From: Luca Heltai Date: Thu, 10 May 2018 16:39:08 +0200 Subject: [PATCH] Fixed perl regex. --- doc/doxygen/scripts/program2doxygen | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/doxygen/scripts/program2doxygen b/doc/doxygen/scripts/program2doxygen index f2c27cda77..3fc114e0c4 100644 --- a/doc/doxygen/scripts/program2doxygen +++ b/doc/doxygen/scripts/program2doxygen @@ -138,10 +138,10 @@ do { } # in code fragment mode: only skip leading whitespace and # comment // signs - s!\s*//\s(.*)\n!$1!; + s!^\s*//(.*)\n!$1!; # finally print this line - print " * $_\n"; + print " *$_\n"; if (m!^ *\s*\@endcode!) { -- 2.39.5