[pcre-dev] [Bug 2740] New: Using Multilin=Off and text endin…

Top Page
Delete this message
Author: admin
Date:  
To: pcre-dev
New-Topics: [pcre-dev] [Bug 2740] Using Multiline=Off and text ending on EOL with pattern "$", I get 2 EOF matches instead of 1, [pcre-dev] [Bug 2740] Using Multiline=Off and text ending on EOL with pattern "$", I get 2 EOF matches instead of 1, [pcre-dev] [Bug 2740] Using Multiline=Off and text ending on EOL with pattern "$", I get 2 EOF matches instead of 1, [pcre-dev] [Bug 2740] Using Multiline=Off and text ending on EOL, I get matches EOF twice, [pcre-dev] [Bug 2740] Using Multiline=Off and text ending on EOL, matches EOF twice, [pcre-dev] [Bug 2740] Using Multiline=Off and text ending on EOL with pattern "$", I get 2 matches instead of 1, [pcre-dev] [Bug 2740] Using Multiline=Off and text ending on EOL with pattern "$", I get 2 EOF matches instead of 1
Subject: [pcre-dev] [Bug 2740] New: Using Multilin=Off and text ending on EOL, matches EOF twice
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.Hazel@???
          Reporter: tormozit@???
                CC: pcre-dev@???


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.