Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Conditional continued matching with regexes

by bart (Canon)
on Feb 06, 2007 at 08:14 UTC ( [id://598497]=note: print w/replies, xml ) Need Help??


in reply to Re: Conditional continued matching with regexes
in thread Conditional continued matching with regexes

What use is a parser, when a lexer will do?

"When all you have is a hammer, every problem looks like a nail." And a parser is an excellent hammer.

What I mean is: there's nothing remotely recursive in the definition of the syntax of CSV. Which is when you need to use a parser.

  • Comment on Re^2: Conditional continued matching with regexes

Replies are listed 'Best First'.
Re^3: Conditional continued matching with regexes
by exussum0 (Vicar) on Feb 06, 2007 at 15:06 UTC
    Hey, you asked what I'd use. I wouldn't use a regexp. Not because it's wrong, but what you posted, while may work, is not the easiest thing for me to just mind dump into code.

    Was it your intention to ask what *I* would do and then critique me on it? If that were to happen, I never would have answered at all.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-04-24 18:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found