On 6/28/07, Ævar Arnfjörð Bjarmason <avarab@gmail.com> wrote: > This removes one of the more nasty warts in the API. C<split " "> > would get the C<" "> turned into C<\s+> (and the SV* made RW) on the > optree level to support C<split " ">. This adds RXf_SPLIT flag that's > passed to the regex engine indicating that the pattern is part of a > split statement. The regex engine then does all the work. > > Further info about the new API can be found in perlreapi.pod. > > B::Concise will run more tests as a result of RXf_SPLIT so the test > count for it was increased. > > This passes all tests even though the C<" "> part of C<split " "> is > not made into a !SvREADONLY scalar anymore. This appears to have been > an artifact of the old (crazy) implementation which didn't harm > anything else. Thanks. Applied with a tweak as Change #31495. Additional changes to eliminate the pattern parsing logic and replace it with optree parsing logic were applied as Change #31496. Cheers, yves -- perl -Mre=debug -e "/just|another|perl|hacker/"Thread Previous