Permalink
Browse files

caps names can have 0-9

  • Loading branch information...
1 parent 4246dd2 commit 1063c8276f4146366bc47d3de01d3b705fb241a2 @dajobe committed Feb 27, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 scripts/process-changes.pl
@@ -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>};
@@ -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>};

0 comments on commit 1063c82

Please sign in to comment.