1
0
mirror of https://github.com/stedolan/jq.git synced 2024-05-11 05:55:39 +00:00

Show missing backslash in manual (#2492)

This commit is contained in:
zstadler
2023-06-06 00:03:07 +03:00
committed by GitHub
parent d57a96e3f7
commit a5ba98a55c

View File

@@ -2361,7 +2361,7 @@ sections:
be a jq string, and may contain references to named captures. The
named captures are, in effect, presented as a JSON object (as
constructed by `capture`) to `tostring`, so a reference to a captured
variable named "x" would take the form: "\(.x)".
variable named "x" would take the form: `"\(.x)"`.
example:
- program: 'sub("^[^a-z]*(?<x>[a-z]*).*")'