From 243d8a3545fca392c75ecd5a973e8df701b35d77 Mon Sep 17 00:00:00 2001 From: Alex Schroeder Date: Sat, 25 Mar 2006 23:07:04 +0000 Subject: [PATCH] (Cal): Replace \w+ by \S+ because Oddmuse cannot rely on locale information being correct. --- modules/calendar.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/calendar.pl b/modules/calendar.pl index 94701f31..d08f8ba0 100644 --- a/modules/calendar.pl +++ b/modules/calendar.pl @@ -17,7 +17,7 @@ # 59 Temple Place, Suite 330 # Boston, MA 02111-1307 USA -$ModulesDescription .= '

$Id: calendar.pl,v 1.46 2006/03/24 15:11:42 as Exp $

'; +$ModulesDescription .= '

$Id: calendar.pl,v 1.47 2006/03/25 23:07:04 as Exp $

'; use vars qw($CalendarOnEveryPage $CalAsTable); @@ -65,7 +65,7 @@ sub Cal { } $link; }|ge; - $cal =~ s|(\w+) (\d\d\d\d)|{ + $cal =~ s|(\S+) (\d\d\d\d)|{ my ($month_text, $year_text) = ($1, $2); my $date = sprintf("%d-%02d", $year, $mon); if ($unlink_year) {