Branch: refs/heads/yves/perlvar_last_successful_match
Home: https://github.com/Perl/perl5
Commit: 5c4d3ac0517dbf061fd35de2414a40ba1e75fdf2
https://github.com/Perl/perl5/commit/5c4d3ac0517dbf061fd35de2414a40ba1e75fdf2
Author: Yves Orton <[email protected]>
Date: 2023-03-13 (Mon, 13 Mar 2023)
Changed paths:
M t/re/pat.t
Log Message:
-----------
t/re/pat.t - test that we can copy and then reuse ${^LAST_SUCCESSFUL_PATTERN}
This tests that we can convert a pattern embedded in a m// or s///
into a qr//, which is surprisingly useful! So useful I am a bit
surprised it didn't occur to anyone to expose this earlier.