Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: validate variable-length lines in one regex?

by AnomalousMonk (Archbishop)
on Jul 07, 2015 at 00:13 UTC ( [id://1133466]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    c:\@Work\Perl\monks>perl -wMstrict -le
    "my @lines = (
    ...
    'T11 2  1 0 6.0 1.1 2.2' -> 'T11' '2' '1' '0' (6.0 1.1 2.2)
    'L06 1  1 0 1.0 3.3' -> 'L06' '1' '1' '0' (1.0 3.3)
    'L99 1  1 0 1.1 2.2 3.3 4.4 5.5' -> unknown
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-19 21:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found