Hi Dean, Dean Hamstead wrote: > <meta http-equiv="content-type" content="text/html; charset=$blog_encoding" >
Oops. Thanks for the bug report. > Looking at the interpolate subroutine... > > $interpolate = sub { > package blosxom; > my $template = shift; > # Interpolate scalars, namespaced scalars, and hash/hashref scalars > $template =~ > s/(\$\w+(?:::\w+)*(?:(?:->)?{(['"]?)[-\w]+\2})?)/"defined $1 ? $1 : ''"/gee; > return $template; > }; > > > the substitute regular expression doesnt seem to include underscore. And thanks for the analysis. Sounds reasonable at a first glance. Then on the other hand, this works for me: <meta name="description" lang="en" content="$blog_description" /> It becomes as expected: <meta name="description" lang="en" content="Yet another Blosxom weblog from someone who promised himself to never start blogging - since blogging is futile." /> Reason why this works is because \w already includes underscore. From perlre(1): \w Match a "word" character (alphanumeric plus "_") So the problem resides somewhere else. > absolutely though, its not picking up $blog_encoding as it should at > least be replacing it with '' You've got a point there. Regards, Axel -- ,''`. | Axel Beckert <a...@debian.org>, http://people.debian.org/~abe/ : :' : | Debian Developer, ftp.ch.debian.org Admin `. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE `- | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org