Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2016-06-30 01:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (388 votes). Check out past polls.