in reply to
Bold text
$text_to_emphasise =~ s/(\d+)/_*\1*_/g;
[download]
Comment on
Re: Bold text
Download
Code
Replies are listed 'Best First'.
Re^2: Bold text
by
Anonymous Monk
on Jan 11, 2005 at 08:58 UTC
You ought to be using $1 in the replacement, not \1. -w would have told you.
[reply]
Re^3: Bold text
by
EdwardG
(Vicar)
on Jan 11, 2005 at 09:47 UTC
Nothing to see here.
[reply]
In Section
Seekers of Perl Wisdom