Show missing backslash in manual (#2492)

This commit is contained in:
itchyny committed 2023-06-06 06:03:58 +09:00
1 parent a5ba98a55c
commit 4e9a1a8037
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -2452,7 +2452,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]*).*")'
+1 -1
View File
@@ -2115,7 +2115,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]*).*")'