This function defines a generic function to parse a string query into structured
data that can be used to explore a pbox object. It extracts components of the query
using regular expression matching.
Usage
q_parser(query)
Value
A data table with columns 'Varnames', 'Value', 'Operator', and 'Varnames2',
where numeric values are converted to numeric type, and unnecessary columns are removed.