On 6 June 2012 00:33, Ricardo Signes <perl.p5p@rjbs.manxome.org> wrote:
> * Leon Timmermans <fawaka@gmail.com> [2012-06-05T18:24:20]
>> On Wed, Jun 6, 2012 at 12:20 AM, Leon Timmermans <fawaka@gmail.com> wrote:
>> >
>> > I think /(??{ $some_pattern_string })/ should do the same as
>> > /$some_pattern_string/, so I would see this as a bug.
>
> Do you think this is also a bug?
>
[snip example of capture buffers not working]
Note the docs say "and *matched* as if it were inserted instead of
this construct." (emphasis added), it does not say "behaves exactly
the same as", or "captures the same thing as". And indeed it is
documented as such since at least 6bda09f9.
Yves
--
perl -Mre=debug -e "/just|another|perl|hacker/"
Thread Previous
|
Thread Next