Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: regex pattern match

by McA (Priest)
on Mar 29, 2013 at 10:15 UTC ( #1026121=note: print w/ replies, xml ) Need Help??


in reply to Re: regex pattern match
in thread regex pattern match

Nice approach.


Comment on Re^2: regex pattern match
Re^3: regex pattern match
by hdb (Prior) on Mar 29, 2013 at 10:20 UTC

    I do not like the line where I replace $first with spaces. It really should be:

    $first =~ s/./ /g;

    I love regular expressions! However, things can get easily out of hand and become unmaintainable. Also, these are quite format dependent. Should there be only one column, it would not work anymore.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2015-07-03 20:53 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 (56 votes), past polls