From d3944d82d9ee857d697797058ad1782ea55b8a29 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Sat, 12 Sep 2015 06:18:34 -0700 Subject: [PATCH] Fix "an UTF"/"an union" with "a UTF"/"a union", etc --- modules/c2english/c2eng.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/c2english/c2eng.pl b/modules/c2english/c2eng.pl index 4dda44e3..76e61a99 100755 --- a/modules/c2english/c2eng.pl +++ b/modules/c2english/c2eng.pl @@ -65,6 +65,8 @@ foreach my $arg (@ARGV) { my @quotes; $output =~ s/(?:\"((?:\\\"|(?!\").)*)\")/push @quotes, $1; '"' . ('-' x length $1) . '"'/ge; + $output =~ s/\ban un/a un/g; + $output =~ s/\ban UTF/a UTF/g; $output =~ s/the value the expression/the value of the expression/g; $output =~ s/the value the member/the value of the member/g; $output =~ s/the value the/the/g;