SvPV() does not take a const SV*, which means that the pattern argument
authorNicholas Clark <nick@ccl4.org>
Thu, 30 Oct 2008 22:08:41 +0000 (22:08 +0000)
committerNicholas Clark <nick@ccl4.org>
Thu, 30 Oct 2008 22:08:41 +0000 (22:08 +0000)
commit1593ad57168f1432573f8effd44b7610e9f8f962
tree24105a20e2e6c23c574462b348b603edff9dcd34
parentdaba3364ed9f39ba44b28575c032f6db52d47881
SvPV() does not take a const SV*, which means that the pattern argument
to Perl_re_compile() can't be const, which means that the pattern
argument to Perl_pregcomp() can't be const, as can't the argument in
the function in the regexp engine structure.

It's a shame that no-one spotted this earlier.
(Again) I may have rendered the documentation inaccurate.

p4raw-id: //depot/perl@34672
embed.fnc
proto.h
regcomp.c
regexp.h