Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

patterndb: Add support for nested quotted string in @QSTRING@ #4717

Merged
merged 1 commit into from Nov 24, 2023

Commits on Nov 23, 2023

  1. patterndb: Add support for nested quotted string in @qstring@

    When using 2 chars to match quoted strings (e.g. `(), `[]`, `{}`), we
    want to detect nesting to capture the whole containing expression.
    
    Matching `(foo (bar (baz) qux)) quux` against `@QSTRING::()@` previously
    captured `(foo (bar (baz)` and now capture `(foo (bar (baz) qux))`.
    
    Fixes: syslog-ng#4716
    
    Signed-off-by: Romain Tartière <romain@blogreen.org>
    smortex committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    afbe526 View commit details
    Browse the repository at this point in the history