This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: Use no_mg for 2nd fetch of pattern
authorKarl Williamson <public@khwilliamson.com>
Sat, 29 Oct 2011 15:48:43 +0000 (09:48 -0600)
committerKarl Williamson <public@khwilliamson.com>
Sat, 29 Oct 2011 18:28:43 +0000 (12:28 -0600)
commit3e0b93e82af0f1a033bcdb918b413113f1d61cf0
treed784f7850105d0ff6c3d4930eb665c66b9a124db
parent4e19c54bba2320807aca2f5aa19a4a0646e2a82c
regcomp.c: Use no_mg for 2nd fetch of pattern

The pattern could be tied, for example, and so only want to access it
once.  I couldn't come up with a test case that actually exercised this,
but I can think of future changes to regcomp that would.
regcomp.c