Commit 6f00038
committed
regexp_unicode_prop.t: Fix up test for Unicode 16.0
This test was assuming that U+0300 (COMBINING GRAVE ACCENT) matches
\p{Inherited}, since it is a combining mark. However Unicode 16.0 has
gone through such marks and decided that some are limited to actually
just a few scripts, so it is not generally inherited. (One of those
scripts is Latin, so it is effectively inherited in French, Spanish,
etc.) But it isn't always inheritied, and so it loses that status, and
the test fails.
I would never have expected this test to be brittle, but so it is. What
this commit does is to change to another code point that is till
considered Inherited, and the test passes.1 parent 648bc88 commit 6f00038
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
0 commit comments