Skip to content

Commit

Permalink
caps names can have 0-9
Browse files Browse the repository at this point in the history
  • Loading branch information
dajobe committed Feb 27, 2011
1 parent 4246dd2 commit 1063c82
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-Z0-9]+$/) {
$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-Z0-9]+$/) {
$escaped_name .= ":CAPS";
}
return qq{<link linkend="$escaped_name"><literal>$name</literal></link>};
Expand Down

0 comments on commit 1063c82

Please sign in to comment.