diff options
author | Steven Schubiger <stsc@refcnt.org> | 2015-01-06 16:52:07 +0100 |
---|---|---|
committer | Steven Schubiger <stsc@refcnt.org> | 2015-01-06 16:52:07 +0100 |
commit | 817a1f629818f11dce3448304da3eafaebf540c6 (patch) | |
tree | afd7f2737e711f8968e89975247670f333b8f0d8 | |
parent | 3efacbab405d1c178f06280957e4727959cc1175 (diff) | |
download | lugs-817a1f629818f11dce3448304da3eafaebf540c6.tar.gz lugs-817a1f629818f11dce3448304da3eafaebf540c6.tar.bz2 |
lreminder: make regex more precise
-rwxr-xr-x | lreminder/reminder.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lreminder/reminder.pl b/lreminder/reminder.pl index 31ab073..b3658ca 100755 --- a/lreminder/reminder.pl +++ b/lreminder/reminder.pl @@ -15,7 +15,7 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # # Author: Steven Schubiger <stsc@refcnt.org> -# Last modified: Mon Dec 29 19:06:34 CET 2014 +# Last modified: Tue Jan 6 14:37:04 CET 2015 use strict; use warnings; @@ -37,7 +37,7 @@ use Text::Wrap::Smart::XS qw(fuzzy_wrap); use URI (); use WWW::Mechanize (); -my $VERSION = '0.49'; +my $VERSION = '0.50'; #----------------------- # Start of configuration @@ -236,7 +236,7 @@ sub info_string my $modified = localtime((stat($0))[9]); $modified =~ s/(?<=\b) (?:\d{2}\:?){3} (?=\b)//x; - $modified =~ s/\s+/ /g; + $modified =~ s/\s{2,}/ /g; my $info = <<"EOT"; -- |