Skip to content

Commit

Permalink
caps names can have _
Browse files Browse the repository at this point in the history
  • Loading branch information
dajobe committed Feb 27, 2011
1 parent c60a9b9 commit 4246dd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/process-changes.pl
Expand Up @@ -105,7 +105,7 @@ ($)
my($name)=@_;

my $escaped_name = $name; $escaped_name =~ s/_/-/g;
if($escaped_name =~ /^[-A-Z]+$/) {
if($escaped_name =~ /^[-_A-Z]+$/) {
$escaped_name .= ":CAPS";
}
return qq{<link linkend="$escaped_name"><type>$name</type></link>};
Expand All @@ -115,7 +115,7 @@ ($)
my($name)=@_;

my $escaped_name = $name; $escaped_name =~ s/_/-/g;
if($escaped_name =~ /^[-A-Z]+$/) {
if($escaped_name =~ /^[-_A-Z]+$/) {
$escaped_name .= ":CAPS";
}
return qq{<link linkend="$escaped_name"><literal>$name</literal></link>};
Expand Down

0 comments on commit 4246dd2

Please sign in to comment.