summaryrefslogtreecommitdiff
path: root/pod/perlreapi.pod
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2007-06-28 23:14:39 +0000
committerYves Orton <demerphq@gmail.com>2007-06-28 23:14:39 +0000
commitf1b875a0a91038690cebe55acd7ad1e37e6a2621 (patch)
treeaf2c0780befa801256117288794b44649166c71f /pod/perlreapi.pod
parent7bd1e61447493a93405e0d15fe2f8a0b6bf71de1 (diff)
downloadperl-f1b875a0a91038690cebe55acd7ad1e37e6a2621.tar.gz
Rename various regex defined so that they have distinct prefixes based on their usage.
RXf_ => flags used in pm_flags argument to regcomp and stored in the regex via rx->extflags PREGf_ => flags stored in rx->intflags RXapif_ => argument flags for regex named capture api RX_BUFF_IDX_ => special indexes to represent $` $' $& used in the numeric capture buffer api PREGf is untouched by this change, but RXf_ is split into RXapif and RX_BUFF_IDX_. p4raw-id: //depot/perl@31497
Diffstat (limited to 'pod/perlreapi.pod')
-rw-r--r--pod/perlreapi.pod28
1 files changed, 14 insertions, 14 deletions
diff --git a/pod/perlreapi.pod b/pod/perlreapi.pod
index 084762dd94..cb7bbfced9 100644
--- a/pod/perlreapi.pod
+++ b/pod/perlreapi.pod
@@ -349,27 +349,27 @@ currently defined:
Which L<Tie::Hash> operation is being performed from the Perl level on
C<%+> or C<%+>, if any:
- RXf_HASH_FETCH
- RXf_HASH_STORE
- RXf_HASH_DELETE
- RXf_HASH_CLEAR
- RXf_HASH_EXISTS
- RXf_HASH_SCALAR
- RXf_HASH_FIRSTKEY
- RXf_HASH_NEXTKEY
+ RXapif_FETCH
+ RXapif_STORE
+ RXapif_DELETE
+ RXapif_CLEAR
+ RXapif_EXISTS
+ RXapif_SCALAR
+ RXapif_FIRSTKEY
+ RXapif_NEXTKEY
Whether C<%+> or C<%-> is being operated on, if any.
- RXf_HASH_ONE /* %+ */
- RXf_HASH_ALL /* %- */
+ RXapif_ONE /* %+ */
+ RXapif_ALL /* %- */
Whether this is being called as C<re::regname>, C<re::regnames> or
C<re::regnames_count>, if any. The first two will be combined with
-C<RXf_HASH_ONE> or C<RXf_HASH_ALL>.
+C<RXapif_ONE> or C<RXapif_ALL>.
- RXf_HASH_REGNAME
- RXf_HASH_REGNAMES
- RXf_HASH_REGNAMES_COUNT
+ RXapif_REGNAME
+ RXapif_REGNAMES
+ RXapif_REGNAMES_COUNT
Internally C<%+> and C<%-> are implemented with a real tied interface
via L<Tie::Hash::NamedCapture>. The methods in that package will call