Skip to content

Commit

Permalink
perlretut: clarify confusing parenthetical
Browse files Browse the repository at this point in the history
Resolves Perl#22260
  • Loading branch information
Grinnz authored and khwilliamson committed Jun 10, 2024
1 parent fb31b68 commit 81c6106
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pod/perlretut.pod
Original file line number Diff line number Diff line change
Expand Up @@ -1995,7 +1995,7 @@ to know 1) how to represent Unicode characters in a regexp and 2) that
a matching operation will treat the string to be searched as a sequence
of characters, not bytes. The answer to 1) is that Unicode characters
greater than C<chr(255)> are represented using the C<\x{hex}> notation, because
C<\x>I<XY> (without curly braces and I<XY> are two hex digits) doesn't
C<\x>I<XY> (specified as two hex digits without curly braces) doesn't
go further than 255. (Starting in Perl 5.14, if you're an octal fan,
you can also use C<\o{oct}>.)

Expand Down

0 comments on commit 81c6106

Please sign in to comment.