summaryrefslogtreecommitdiff
path: root/pod/perlguts.pod
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2013-07-06 12:39:22 -0600
committerKarl Williamson <public@khwilliamson.com>2013-07-16 13:58:06 -0600
commitd6605d24c6be02c97abae04f7d64d0eae183eba0 (patch)
treedc4cfcefcf30d1b34c4923e0bc66aaef3e468b30 /pod/perlguts.pod
parenta0316a6cd4a14261beb22d95530d5763e8b6756b (diff)
downloadperl-d6605d24c6be02c97abae04f7d64d0eae183eba0.tar.gz
Reinstate "regcomp.c: Make inversion lists SVt_PVLV"
This reverts commit ac7a6f5849b5fd57b2e837f4ddbc18c992610e9c which reverted 2c3365de8c1168f115576a4976d067e3b911c490, thus reinstating the latter commit. It turns out that the error being chased down was not due to this commit. This commit additionally changes some now-obsolete wording in a pod. This change was not in 2c3365de8c1168f115576a4976d067e3b911c490. The original message for commit 2c3365de8c1168f115576a4976d067e3b911c490 was: This is the 2nd step in separating the inversion list body from header. This commit gives inversion lists the header from a SVt_PVLV, and repurposes one of its fields into being the length of the inversion list. This is a temporary measure, in case binary compatibility is an issue. Future commits will create a new SV type just for inversion lists. This SV type was chosen because it has a sufficient number of fields to accommodate all the header fields from inversion lists.
Diffstat (limited to 'pod/perlguts.pod')
-rw-r--r--pod/perlguts.pod5
1 files changed, 2 insertions, 3 deletions
diff --git a/pod/perlguts.pod b/pod/perlguts.pod
index fa05c23560..553d9143f4 100644
--- a/pod/perlguts.pod
+++ b/pod/perlguts.pod
@@ -39,9 +39,8 @@ values that can be loaded: an integer value (IV), an unsigned integer
value (UV), a double (NV), a string (PV), and another scalar (SV).
("PV" stands for "Pointer Value". You might think that it is misnamed
because it is described as pointing only to strings. However, it is
-possible to have it point to other things. For example, inversion
-lists, used in regular expression data structures, are scalars, each
-consisting of an array of UVs which are accessed through PVs. But,
+possible to have it point to other things For example, it could point
+to an array of UVs. But,
using it for non-strings requires care, as the underlying assumption of
much of the internals is that PVs are just for strings. Often, for
example, a trailing NUL is tacked on automatically. The non-string use