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

Startseite
Nachricht löschen
Autor: admin
Datum:  
To: pcre-dev
Alte Treads: [pcre-dev] [Bug 2740] New: Using Multilin=Off and text ending on EOL, matches EOF twice
Betreff: [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.