use anonymous files for here-documents if available and the document size exceeds pipe capacity; fixes to build if multibyte characters are unavailable; fix potential overflow with extrememly long $'...' strings; fix for readline redisplay highlighting with a zero-length region

This commit is contained in:
Chet Ramey
2026-07-24 12:13:30 -04:00
parent 03e7298d1e
commit 9b6349ef40
19 changed files with 138 additions and 23 deletions
+2 -2
View File
@@ -921,9 +921,9 @@ The array variable
.B BASH_REMATCH
records which parts of the string matched the pattern.
.B Bash
unsets
unsets each element of
.B BASH_REMATCH
before attempting the match, so if there is no match, it remains unset.
before attempting the match, so if there is no match, it remains empty.
The element of
.SM
.B BASH_REMATCH
+2 -2
View File
@@ -1379,8 +1379,8 @@ special pattern characters where that's necessary.
The array variable @code{BASH_REMATCH} records which parts of the string
matched the pattern.
Bash unsets @code{BASH_REMATCH}
before attempting the match, so if there is no match, it remains unset.
Bash unsets each element of @code{BASH_REMATCH}
before attempting the match, so if there is no match, it remains empty.
The element of @code{BASH_REMATCH} with index 0 contains the portion of
the string matching the entire regular expression.
Substrings matched by parenthesized subexpressions within the regular