Fixed a bug in the generation of related help for the list of Macros. Macro names with all caps returned a help topic name with a space at the end.

Another batch of Activity docs.
This commit is contained in:
Colin Kuskie 2006-07-02 02:38:16 +00:00
parent d27b3c24b6
commit 3d77b2451a
10 changed files with 175 additions and 1 deletions

View file

@ -63,6 +63,7 @@ our $HELP = {
$tag =~ s/^[a-zA-Z]+_//; #Remove initial shortcuts
$tag =~ s/([A-Z]+(?![a-z]))/$1 /g; #Separate acronyms
$tag =~ s/([a-z])([A-Z])/$1 $2/g; #Separate studly caps
$tag =~ s/\s+$//;
$tag = lc $tag;
$namespace = join '', 'Macro_', $_;
{ tag => $tag,