Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: How to improve regex for parsing equals delimited data

by sauoq (Abbot)
on May 11, 2012 at 12:36 UTC ( [id://969997]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        my @F = split /\s*=\s*/;
        
    ...
            \%x;
        } 1 .. $#F];
    
  2. or download this
     my ($toss, @list) = split /\s*([A-Za-z]+)\s*\=\s*/;
     my @row;
    ...
    
     }
     push @rows, \@row;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-26 01:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found