diff --git a/language/types/string.xml b/language/types/string.xml index 25c8733c9f..617cdb6fc2 100644 --- a/language/types/string.xml +++ b/language/types/string.xml @@ -167,7 +167,8 @@ echo 'Variables do not $expand $either'; \[0-7]{1,3} the sequence of characters matching the regular expression is a - character in octal notation + character in octal notation, which silently overflows to fit in a byte + (e.g. "\400" === "\000") @@ -202,7 +203,7 @@ echo 'Variables do not $expand $either'; details. - + Heredoc @@ -210,7 +211,7 @@ echo 'Variables do not $expand $either'; A third way to delimit strings is the heredoc syntax: <<<. After this operator, an identifier is provided, then a newline. The string itself follows, and then - the same identifier again to close the quotation. + the same identifier again to close the quotation.