From 71669bb0498977032ab4291e40aed7d0ec96c6f2 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 28 Aug 2014 12:48:00 +0100 Subject: [PATCH] Fix parsing of comment lines without leading `*`. --- doc/lua_api.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/lua_api.pl b/doc/lua_api.pl index b7c69a33c..7a987b922 100755 --- a/doc/lua_api.pl +++ b/doc/lua_api.pl @@ -233,7 +233,7 @@ while (<>) { $content = ""; } else { - my ($line) = ( $_ =~ /^\s*(?:\*\s?)(.+)\s*$/ ); + my ($line) = ( $_ =~ /^(?:\s*\*\s)?(.+)\s*$/ ); if ($line) { $content .= $line . "\n"; } -- 2.39.5