In perl.git, the branch slush/as_bug_87173 has been created
<http://perl5.git.perl.org/perl.git/commitdiff/deda0747549568225ee7a99c1ff482c3b418a9d4?hp=0000000000000000000000000000000000000000>
at deda0747549568225ee7a99c1ff482c3b418a9d4 (commit)
- Log -----------------------------------------------------------------
commit deda0747549568225ee7a99c1ff482c3b418a9d4
Author: Yves Orton <[email protected]>
Date: Sat Jun 19 13:41:10 2010 +0200
when disabling of implicit checkstring must reset anchored flag
It seems that if a regex check string is determined to be "not useful"
it is permananently disabled. However, it appears that when doing this
we dont necessarily reset any flags that are related to it.
Worse, the behaviour is not determinisitic, so it is quite possible that
a given program may experience this bug "randomly" based on what strings
it was matching. Thus it may be difficult to reproduce.
Resetting the RXc_ANCH_MBOL when we know that it is implicit
(PREGf_IMPLICIT) seems to fix /this/ particular example. But it wouldn't
surprise me to discover that other "random" bugs we encounter can be
traced back to this behaviour.
-----------------------------------------------------------------------
--
Perl5 Master Repository