in reply to
Re: Problem with s///
in thread
Problem with s///
Thank you very much! indeed s/// is not always the answer! :)
Comment on
Re: Re: Problem with s///
Replies are listed 'Best First'.
Re: Re: Re: Problem with s///
by
ysth
(Canon)
on Jan 09, 2004 at 20:07 UTC
Ah, but the substr() solution will fail 7996 years from now. Code for posterity!
s/:\d{2} \d{4,}\z//
[reply]
[d/l]
In Section
Seekers of Perl Wisdom