Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Bold text

by EdwardG (Vicar)
on Jan 10, 2005 at 16:53 UTC ( #420991=note: print w/ replies, xml ) Need Help??


in reply to Bold text

$text_to_emphasise =~ s/(\d+)/_*\1*_/g;

 


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.

      Nothing to see here.

       

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://420991]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2015-07-28 03:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (252 votes), past polls