This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
gv_fetchpvn and gv_fetchpvn_flags are identical
[perl5.git] / regexp.h
index 59fa1b8..5335061 100644 (file)
--- a/regexp.h
+++ b/regexp.h
@@ -252,7 +252,7 @@ typedef struct regexp_engine {
 #define RXapif_REGNAMES_COUNT  0x1000
 
 /*
-=head1 REGEXP Functions
+=for apidoc_section REGEXP Functions
 
 =for apidoc Am|REGEXP *|SvRX|SV *sv
 
@@ -608,7 +608,7 @@ and check for NULL.
                                         the start pos (so s/.\G// would fail
                                         on second iteration */
 
-#if defined(__GNUC__) && !defined(PERL_GCC_BRACE_GROUPS_FORBIDDEN)
+#if defined(PERL_USE_GCC_BRACE_GROUPS)
 #  define ReREFCNT_inc(re)                                             \
     ({                                                                 \
        /* This is here to generate a casting warning if incorrect.  */ \
@@ -826,7 +826,7 @@ typedef struct regmatch_state {
        } keeper;
 
         /* quantifiers - these members are used for storing state for
-           for the regops used to implement quantifiers */
+           the regops used to implement quantifiers */
        struct {
            /* this first element must match u.yes */
            struct regmatch_state *prev_yes_state;