Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: help required for regexp

by tobyink (Abbot)
on Dec 08, 2011 at 12:41 UTC ( #942413=note: print w/replies, xml ) Need Help??


in reply to help required for regexp

%Hidlabels = (3333=>1, 4444=>2, 2222=>3); $formula =~ s{ (\d+) } { defined $Hidlabels{$1} ? $Hidlabels{$1} : $1 }xeg if $formula =~ /^f/;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://942413]
help
Chatterbox?
NodeReaper drums his fingers on the chair arm

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2016-12-06 05:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (101 votes). Check out past polls.