home/test/regression/3799-incorrect-region-match
Maxime Coste 246a32797a Fix region regexes incorrectly matching ^$ at end of line
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
2020-10-12 12:41:21 +11:00
..
cmd Fix region regexes incorrectly matching ^$ at end of line 2020-10-12 12:41:21 +11:00
in Fix region regexes incorrectly matching ^$ at end of line 2020-10-12 12:41:21 +11:00
rc Fix region regexes incorrectly matching ^$ at end of line 2020-10-12 12:41:21 +11:00
script Fix region regexes incorrectly matching ^$ at end of line 2020-10-12 12:41:21 +11:00