Implements the `q_parser` function specifically for string input. It uses a regular expression to split the query into its components, converting numeric strings to numeric values where applicable, and structuring the result as a data table for easy manipulation.
# S4 method for ANY
q_parser(query)
A data table with the parsed elements of the query.
A string representing the query.
q_parser
for the generic function definition.