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.
In reply to Re: need to parse firts part of SQL-query (regex question)
by bart
in thread need to parse firts part of SQL-query (regex question)
by jeanluca
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |