diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-08-28 12:48:00 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-08-28 12:48:00 +0100 |
commit | 71669bb0498977032ab4291e40aed7d0ec96c6f2 (patch) | |
tree | 96c7e6582c05d3603840a5ea763bf284ebd8511f /doc | |
parent | f8ea4bebb407f6a0ab586541e07aa0a3b7eb702c (diff) | |
download | rspamd-71669bb0498977032ab4291e40aed7d0ec96c6f2.tar.gz rspamd-71669bb0498977032ab4291e40aed7d0ec96c6f2.zip |
Fix parsing of comment lines without leading `*`.
Diffstat (limited to 'doc')
-rwxr-xr-x | doc/lua_api.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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"; } |