summaryrefslogtreecommitdiff
path: root/regexp.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-10-17 07:26:56 -0600
committerKarl Williamson <khw@cpan.org>2020-12-30 07:08:52 -0700
commit1f6e74eb3536a13f38c1016477cd5b62dfe4e3da (patch)
treeb1025baa404ae443efd06c9070b43dff08ea29ed /regexp.h
parentde343f440fedc6e5f1dbb95dee19f10a46ef8794 (diff)
downloadperl-1f6e74eb3536a13f38c1016477cd5b62dfe4e3da.tar.gz
Document regexp, regmatch_info
Diffstat (limited to 'regexp.h')
-rw-r--r--regexp.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/regexp.h b/regexp.h
index cfb8d443ce..43a5168f74 100644
--- a/regexp.h
+++ b/regexp.h
@@ -97,6 +97,7 @@ struct reg_code_blocks {
/*
+= for apidoc AyT||regexp
The regexp/REGEXP struct, see L<perlreapi> for further documentation
on the individual fields. The struct is ordered so that the most
commonly used fields are placed at the start.
@@ -673,12 +674,17 @@ typedef struct {
} regmatch_info_aux;
-/* some basic information about the current match that is created by
- * Perl_regexec_flags and then passed to regtry(), regmatch() etc.
- * It is allocated as a local var on the stack, so nothing should be
- * stored in it that needs preserving or clearing up on croak().
- * For that, see the aux_info and aux_info_eval members of the
- * regmatch_state union. */
+/*
+=for apidoc Ay||regmatch_info
+Some basic information about the current match that is created by
+Perl_regexec_flags and then passed to regtry(), regmatch() etc.
+It is allocated as a local var on the stack, so nothing should be
+stored in it that needs preserving or clearing up on croak().
+For that, see the aux_info and aux_info_eval members of the
+regmatch_state union.
+
+=cut
+*/
typedef struct {
REGEXP *prog; /* the regex being executed */