This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perlunicode: Clarifiy user-defined props
authorKarl Williamson <khw@cpan.org>
Sat, 4 Aug 2018 19:09:43 +0000 (13:09 -0600)
committerKarl Williamson <khw@cpan.org>
Sun, 5 Aug 2018 11:52:48 +0000 (05:52 -0600)
pod/perlunicode.pod

index 9c9111d..a7f87a1 100644 (file)
@@ -1063,7 +1063,7 @@ C<&utf8::Any> must be the last line in the definition.
 Intersection is used generally for getting the common characters matched
 by two (or more) classes.  It's important to remember not to use C<"&"> for
 the first set; that would be intersecting with nothing, resulting in an
-empty set.
+empty set.  (Similarly using C<"-"> for the first set does nothing).
 
 Unlike non-user-defined C<\p{}> property matches, no warning is ever
 generated if these properties are matched against a non-Unicode code