Skip to content

Commit 70324c6

Browse files
committed
perlunicode: Note user-defined property names must be ASCII
1 parent cd791bd commit 70324c6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pod/perlunicode.pod

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1162,7 +1162,8 @@ You can define your own binary character properties by defining subroutines
11621162
whose names begin with C<"In"> or C<"Is">. (The regex sets feature
11631163
L<perlre/(?[ ])> provides an alternative which allows more complex
11641164
definitions.) The subroutines can be defined in any
1165-
package. They override any Unicode properties expressed as the same
1165+
package. Like all official Unicode properties, their names must be
1166+
ASCII only, and override any Unicode properties using the same
11661167
names. The user-defined properties can be used in the regular
11671168
expression
11681169
C<\p{}> and C<\P{}> constructs; if you are using a user-defined property from a

0 commit comments

Comments
 (0)