summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYves Orton <yves.orton@booking.com>2014-01-31 23:32:25 +0800
committerYves Orton <yves.orton@booking.com>2014-01-31 23:32:25 +0800
commit3acaf47f693f67854d79c708604a765ceb372ae4 (patch)
tree300807d0c4780efc4514d98b76ef9c2e112cde0b
parenta8430a8bdb5d5fc20e80a85729621aac565d5035 (diff)
downloadperl-3acaf47f693f67854d79c708604a765ceb372ae4.tar.gz
Update perldelta with details about changes to regexp engine extflags
-rw-r--r--pod/perldelta.pod34
1 files changed, 32 insertions, 2 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index 2281100720..9d25d8ec3f 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -422,9 +422,39 @@ well.
=over 4
-=item *
+=item Regexp Engine Changes That Affect The Pluggable Regex Engine Interface
-XXX
+Many flags that used to be exposed via regexp.h and used to populate the
+extflags member of struct regexp have been removed. These fields were
+technically private to Perl's own regexp engine and should not have been
+exposed there in the first place.
+
+The affected flags are:
+
+ RXf_NOSCAN
+ RXf_CANY_SEEN
+ RXf_GPOS_SEEN
+ RXf_GPOS_FLOAT
+ RXf_ANCH_BOL
+ RXf_ANCH_MBOL
+ RXf_ANCH_SBOL
+ RXf_ANCH_GPOS
+
+As well as the follow flag masks:
+
+ RXf_ANCH_SINGLE
+ RXf_ANCH
+
+All have been renamed to PREGf_ equivalents and moved to regcomp.h.
+
+The behavior previously achieved by setting one or more of the RXf_ANCH_
+flags (via the RXf_ANCH mask) have now been replaced by a *single* flag bit
+in extflags:
+
+ RXf_IS_ANCHORED
+
+pluggable regex engines which previously used to set these flags should
+now set this flag ALONE.
=back