Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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?
[Your Mother]: :P
[ambrus]: YourMother: my brother told me their cat wants to climb into the dishwasher if they leave the door open. Not when the dishwasher is started, but after it's done washing, because it's still warm and cats like warm.

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (15)
As of 2017-12-18 15:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (491 votes). Check out past polls.

    Notices?