https://bugs.exim.org/show_bug.cgi?id=2740

            Bug ID: 2740
           Summary: Using Multilin=Off and text ending on EOL, matches EOF
                    twice
           Product: PCRE
           Version: 10.34 (PCRE2)
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
          Assignee: philip.ha...@gmail.com
          Reporter: tormo...@mail.ru
                CC: pcre-dev@exim.org

Created attachment 1384
  --> https://bugs.exim.org/attachment.cgi?id=1384&action=edit
RegexBuddy reproduction

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 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.
-- 
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev 

Reply via email to