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

Show missing backslash in manual #2492

Merged
merged 1 commit into from
Jun 5, 2023
Merged

Show missing backslash in manual #2492

merged 1 commit into from
Jun 5, 2023

Commits on Oct 16, 2022

  1. Show missing backslash in manual

    The 1.6 manual about [`sub(regex;tostring)`](https://stedolan.github.io/jq/manual/#sub(regex;tostring)sub(regex;string;flags)) currently says:
    
    > a reference to a captured variable named "x" would take the form: "(.x)".
    
    Using `"(.x)"` produces this string literally rather than the captures variable. Instead, the manual should say:
    
    > a reference to a captured variable named "x" would take the form: `"\(.x)"`.
    
    This PR may also need to be back-ported to earlier versions of the jq manual as well as ported to the development version of the jq manual.
    zstadler authored Oct 16, 2022
    Configuration menu
    Copy the full SHA
    0904899 View commit details
    Browse the repository at this point in the history