[pcre-dev] [Bug 2740] Using Multiline=Off and text ending on…

Páxina inicial
Borrar esta mensaxe
Autor: admin
Data:  
Para: pcre-dev
Temas antigos: [pcre-dev] [Bug 2740] New: Using Multilin=Off and text ending on EOL, matches EOF twice
Asunto: [pcre-dev] [Bug 2740] Using Multiline=Off and text ending on EOL with pattern "$", I get 2 EOF matches instead of 1
https://bugs.exim.org/show_bug.cgi?id=2740

--- Comment #1 from tormozit <tormozit@???> ---
I used 2 ways to reproduce this problem:
1st - in my Windows OS compiled exe using PCRE2 source code.
2nd - in widly known RegexBuddy tool.

Reproduction steps:
1. Create text containing only LF or CRLF character.
2. Using PCRE2 with option Multiline=OFF and pattern "$" find all matches
Fact result:
1. Match at position 0 - incorrect
2. Match at position 1
Expected result:
1. Match at position 1

--
You are receiving this mail because:
You are on the CC list for the bug.