Re: [perl #43015] regex /.*\z/ doesn't matches strings ending with \n
[p5sagit/p5-mst-13.2.git] / t / op / re_tests
index 6eb03a2..3afdc71 100644 (file)
@@ -1324,3 +1324,5 @@ foo(\h)bar        foo\x{A0}bar    y       $1      \x{A0}
 foo(\h)bar     foo\tbar        y       $1      \t
 (\H)(\h)       foo\tbar        y       $1-$2   o-\t
 (\h)(\H)       foo\tbar        y       $1-$2   \t-b
+
+.*\z   foo\n   y       -       -