Follow-up Comment #1, bug #25765 (project grep): Reproducible, matches can span multiple lines:
$ echo $'anb' | ./grep -P '^(|.*[^0])b'
a
b
$ echo $'anb' | ./grep -cP '^(|.*[^0])b'
1
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?25765>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
