[interchange-cvs] interchange - heins modified lib/Vend/Util.pm
interchange-cvs at icdevgroup.org
interchange-cvs at icdevgroup.org
Mon Feb 25 12:17:18 EST 2008
User: heins
Date: 2008-02-25 17:17:18 GMT
Modified: lib/Vend Tag: STABLE_5_4-branch Util.pm
Log:
* Fix bug in regex for auto_format anchor handling.
Revision Changes Path
No revision
No revision
2.87.2.4 +3 -3 interchange/lib/Vend/Util.pm
rev 2.87.2.4, prev_rev 2.87.2.3
Index: Util.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Util.pm,v
retrieving revision 2.87.2.3
retrieving revision 2.87.2.4
diff -u -r2.87.2.3 -r2.87.2.4
--- Util.pm 30 Mar 2007 12:15:29 -0000 2.87.2.3
+++ Util.pm 25 Feb 2008 17:17:18 -0000 2.87.2.4
@@ -1,6 +1,6 @@
# Vend::Util - Interchange utility functions
#
-# $Id: Util.pm,v 2.87.2.3 2007/03/30 12:15:29 pajamian Exp $
+# $Id: Util.pm,v 2.87.2.4 2008/02/25 17:17:18 mheins Exp $
#
# Copyright (C) 2002-2005 Interchange Development Group
# Copyright (C) 1996-2002 Red Hat, Inc.
@@ -88,7 +88,7 @@
use Vend::File;
use subs qw(logError logGlobal);
use vars qw($VERSION @EXPORT @EXPORT_OK);
-$VERSION = substr(q$Revision: 2.87.2.3 $, 10);
+$VERSION = substr(q$Revision: 2.87.2.4 $, 10);
my $Eval_routine;
my $Eval_routine_file;
@@ -1183,7 +1183,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