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

Top Page

Reply to this message
Author: admin
Date:  
To: pcre-dev
Old-Topics: [pcre-dev] [Bug 2740] New: Using Multilin=Off and text ending on EOL, matches EOF twice
Subject: [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 #3 from Giuseppe D'Angelo <dangelog@???> ---
Perl:

$ perl -E '$_ = "\n"; while (/$/g) { say "match at ($-[0], $+[0])" }'
match at (0, 0)
match at (1, 1)

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