Skip to main content
100%

Gist 9909821

✓ Published0🌍 Public
Aamithegde
Last edited Apr 1, 2014
Created on Apr 1, 2014

This example demonstrates a live query parser for filter expressions, showing each parsed column name and its associated value in real time as the user types. The interface accepts queries in the format `colName: value`, with optional double quotes around values, and displays the extracted pairs below the input field. The implementation relies on jQuery for DOM manipulation and event handling, while custom regular expressions in JavaScript identify column names and isolate their corresponding values. The parser handles multiple columns by using sequential regex matches, stripping quotes from values and ignoring whitespace-only entries.

AI-generated description

Similar vizzes