[interchange-cvs] interchange - heins modified lib/Vend/Util.pm
interchange-cvs at icdevgroup.org
interchange-cvs at icdevgroup.org
Mon Feb 25 12:17:36 EST 2008
User: heins
Date: 2008-02-25 17:17:36 GMT
Modified: lib/Vend Util.pm
Log:
* Fix bug in regex for auto_format anchor handling.
Revision Changes Path
2.115 +3 -3 interchange/lib/Vend/Util.pm
rev 2.115, prev_rev 2.114
Index: Util.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Util.pm,v
retrieving revision 2.114
retrieving revision 2.115
diff -u -r2.114 -r2.115
--- Util.pm 4 Feb 2008 21:36:58 -0000 2.114
+++ Util.pm 25 Feb 2008 17:17:35 -0000 2.115
@@ -1,6 +1,6 @@
# Vend::Util - Interchange utility functions
#
-# $Id: Util.pm,v 2.114 2008/02/04 21:36:58 kwalsh Exp $
+# $Id: Util.pm,v 2.115 2008/02/25 17:17:35 mheins Exp $
#
# Copyright (C) 2002-2007 Interchange Development Group
# Copyright (C) 1996-2002 Red Hat, Inc.
@@ -91,7 +91,7 @@
use Vend::File;
use subs qw(logError logGlobal);
use vars qw($VERSION @EXPORT @EXPORT_OK);
-$VERSION = substr(q$Revision: 2.114 $, 10);
+$VERSION = substr(q$Revision: 2.115 $, 10);
my $Eval_routine;
my $Eval_routine_file;
@@ -1236,7 +1236,7 @@
if($opt->{auto_format}) {
return $path if $path =~ m{^/};
- $path =~ s:#([^/.])+$::
+ $path =~ s:#([^/.]+)$::
and $opt->{anchor} = $1;
$path =~ s/\.html?$//i
and $opt->{add_dot_html} = 1;
More information about the interchange-cvs
mailing list