Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Interesting Regex Question

by jeroenes (Priest)
on Jul 02, 2001 at 14:48 UTC ( #93151=note: print w/ replies, xml ) Need Help??


in reply to Interesting Regex Question

There is a package by Dana Jacobsen that is very useful for these kind of things. I use it very often. It's not under maintenance though. You can find it here.

If you want to write it yourself, you have to write a real parser. Try Parse::RecDescent. If it's always in the newline format as you posted it, try to split on /\s*,\s*\n/.

Cheers,

Jeroen
"We are not alone"(FZ)


Comment on Re: Interesting Regex Question

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2014-08-23 13:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (174 votes), past polls