Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: need to parse firts part of SQL-query (regex question)

by bart (Canon)
on Jan 17, 2008 at 22:33 UTC ( [id://662967]=note: print w/replies, xml ) Need Help??


in reply to need to parse firts part of SQL-query (regex question)

Take a look at the article Lexing Your Data by Ovid on perl.com, in which he uses HOP::Lexer to tokenize SQL statements.

He did use a bit of a weird grammar, as a trick to circumvent some problems with that module, as I described in the thread HOP::Lexer not doing what I expected.

But otherwise, it should fit your bill perfectly.

  • Comment on Re: need to parse firts part of SQL-query (regex question)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2024-04-25 21:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found