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>
Sun, 30 Oct 2011 16:47:21 +0000 (16:47 +0000)
committerDavid Mitchell <davem@iabyn.com>
Wed, 13 Jun 2012 12:25:51 +0000 (13:25 +0100)
commit87a95bcc2d7801f71814a3a5bb160c0bd5b91285
treeaad3403fd298d475f4384630c48b874705b5fce0
parent8f345207f1de4fd569ad930ffa22666871bb4d04
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.

[ this is a re-application by davem of commit
3e0b93e82af0f1a033bcdb918b413113f1d61cf0 ]
regcomp.c