Test, validate and match regular expressions
Parses Google-style search query terms from a string, handling optional +/- prefixes for inclusion/exclusion, quoted phrases (single or double), and unquoted words. Useful for building search query parsers that need to extract individual terms with their modifiers from user input.