246a32797a
Because no flags were set for regex matching, the regex engine was assuming that the subject string past-the-end matched a end-of-line. As the subject string already ended with a \n character, the regex engine processing of the "past-the-end" position would match '^$' as ^ matched past the existing \n and $ matched the assumed end-of-line. Fixes #3799
5 lines
50 B
Plaintext
5 lines
50 B
Plaintext
print << "";
|
|
part of heredoc
|
|
|
|
not part of heredoc
|