Commit f3409f8e65 for perl

commit f3409f8e6576df3a1ea1cf0356e5016d3247a046
Author: Karl Williamson <khw@cpan.org>
Date:   Fri Oct 23 16:05:17 2026 -0600

    Fix bug in Unicode property wildcards feature

    Fixes #17671

    This bug affected cases only where the property matches the NUL
    character.

    The solution was found by Richard Leach using Claude AI.

diff --git a/lib/charnames.t b/lib/charnames.t
index be260af290..46f6bfea93 100644
--- a/lib/charnames.t
+++ b/lib/charnames.t
@@ -157,10 +157,6 @@ sub test_vianame ($$$) {

     $wildcard_count++;

-    # XXX temporary to see if the failure we are occasionally seeing is
-    # confined to this code point.  GH #17671
-    next if $i == 0;
-
     # Because wildcard name matching is so real-time intensive, do it less
     # frequently than the others
     if ($wildcard_count >= 10) {
diff --git a/regcomp.c b/regcomp.c
index fa397e4caa..62a7c1d875 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -16748,6 +16748,7 @@ S_handle_names_wildcard(pTHX_ const char * wname, /* wildcard name to match */

             if (cp_start == all_names_start) {
                 *prop_definition = add_cp_to_invlist(*prop_definition, 0);
+                found_matches = true;
                 continue;
             }