mirror of
https://codeberg.org/scip/Config-General.git
synced 2025-12-16 20:21:01 +01:00
2.26
- fixed invalid regexp in _open() which circumvented explicit empty block to work when the block statement included whitespaces. - more finetuning in Makefile.PL for cleaning emacs' ~ files. git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@52 be1acefe-a474-0410-9a34-9b3221f2030f
This commit is contained in:
@@ -18,7 +18,7 @@ use strict;
|
||||
use Carp;
|
||||
use Exporter;
|
||||
|
||||
$Config::General::VERSION = "2.25";
|
||||
$Config::General::VERSION = "2.26";
|
||||
|
||||
use vars qw(@ISA @EXPORT);
|
||||
@ISA = qw(Exporter);
|
||||
@@ -452,7 +452,7 @@ sub _read {
|
||||
|
||||
|
||||
# transform explicit-empty blocks to conforming blocks
|
||||
if (/^<([^\/]+?.*?)\/>$/) {
|
||||
if (/\s*<([^\/]+?.*?)\/>$/) {
|
||||
my $block = $1;
|
||||
my $orig = $_;
|
||||
$orig =~ s/\/>$/>/;
|
||||
@@ -1986,7 +1986,7 @@ Thomas Linden <tom@daemon.de>
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
2.25
|
||||
2.26
|
||||
|
||||
=cut
|
||||
|
||||
|
||||
Reference in New Issue
Block a user