http://qs1969.pair.com?node_id=11148253

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

use strict; use warnings; use Data::Dump 'dd'; $_ = 'a'; dd s/(?=(a))/b/; dd @-; dd $_; $_ = 'a'; dd s/(?=(a))/b/g; dd @-; dd $_;

Is this a bug?

1 (0, 0) "ba" 1 0 "ba"