Commit 2de94b8ca0 for perl

commit 2de94b8ca0fa89fed6ec93a17e69d7245764d8df
Author: Karl Williamson <khw@cpan.org>
Date:   Tue Nov 24 08:20:08 2026 -0700

    regcharclass.pl: Remove stray text from generated pod

    This script auto generates pod for the macros it generates.  For the
    macros of the form is WHATEVER_cp, that pod included a wrong paragraph;
    fixed here.

diff --git a/regcharclass.h b/regcharclass.h
index 0d4db21255..b98990bb31 100644
--- a/regcharclass.h
+++ b/regcharclass.h
@@ -1005,8 +1005,6 @@ by this, or else disambiguation would be required.

 Otherwise, it returns zero.

-The value returned gives the number of bytes the matched
-character sequence actually occupies.



@@ -1498,8 +1496,6 @@ by this, or else disambiguation would be required.

 Otherwise, it returns zero.

-The value returned gives the number of bytes the matched
-character sequence actually occupies.



@@ -5041,6 +5037,6 @@ character actually occupies.
  * 94644b4e53ef4f2590ef86a261dcd22ffadf79247fcc7f31c4ebf5b19111fd25 lib/unicore/mktables
  * a0079d7556b20c2de1fdc3d492797a91b8ec8a06006f94460006185cb6380962 lib/unicore/version
  * 0a6b5ab33bb1026531f816efe81aea1a8ffcd34a27cbea37dd6a70a63d73c844 regen/charset_translations.pl
- * cf707f1b19b018e6cf8a3e2228f3448ec31b20843d89e388beb471e809d0b5f5 regen/regcharclass.pl
+ * f418bbdc4cd3af9f64c0b8248f862ec5e6df1a00e8583cb797c52e6903d13d47 regen/regcharclass.pl
  * ea16ffd33f6130e7e38a027c21bdea415a7d96efb3741d7cd731243df769581b regen/regcharclass_multi_char_folds.pl
  * ex: set ro ft=c: */
diff --git a/regen/regcharclass.pl b/regen/regcharclass.pl
index d03043705a..ab557cacb2 100755
--- a/regen/regcharclass.pl
+++ b/regen/regcharclass.pl
@@ -1659,9 +1659,13 @@ sub make_macro {
         $doc_text .= <<~EOT;

         $otherwise
-        The value returned gives the number of bytes the matched
-        $character actually occupies.
         EOT
+        if (! $returns_cp) {
+            $doc_text .= <<~EOT;
+            The value returned gives the number of bytes the matched
+            $character actually occupies.
+            EOT
+        }

         if (! $opts{safe} && $type !~ /^cp/) {
             $doc_text .= <<~EOT;