Esteemed Monks,
I've searched cpan, super searched and googled, and I'm sure I've overlooked something. Therefore this little question.
My $firm has a web application, where we would like to take google-like search strings and process these for insertion into sql-statements. Example:
PersonId < 3 and OrganisationId = 4
This search string will then be translated into some data-structure that can be transmitted to our sql-generation functions. There are probably a million ways to solve this with regular expressions, Parse::RecDescent and whatnot. Safety-issues (sql-insertion, for example) makes this a delicate issue, though.
Does anyone know of a module that implements this? I am almost certain that this is a wheel that does not need to be reinvented, I'm just unable to find it at the moment. Thank you for listening.
pernod
--
Mischief. Mayhem. Soap.
In reply to How can i parse google-like search strings? by pernod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |