diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2002-05-12 15:29:36 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-05-12 15:29:36 +0000 |
commit | 1b2d223bc80114ab97e5af7bf5270927ae350ba4 (patch) | |
tree | b0495c5afa84a084c55f59a788dec505857bb867 /pod/perlebcdic.pod | |
parent | da32f63e54ca956472e919d15f2271b9494ad04e (diff) | |
download | perl-1b2d223bc80114ab97e5af7bf5270927ae350ba4.tar.gz |
EBCDIC: make t/op/pat #242 and 243 finally succeed.
p4raw-id: //depot/perl@16556
Diffstat (limited to 'pod/perlebcdic.pod')
-rw-r--r-- | pod/perlebcdic.pod | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pod/perlebcdic.pod b/pod/perlebcdic.pod index a9f1d0fc3f..44ad6b9f0d 100644 --- a/pod/perlebcdic.pod +++ b/pod/perlebcdic.pod @@ -837,7 +837,11 @@ As of perl 5.005_03 the letter range regular expression such as [A-Z] and [a-z] have been especially coded to not pick up gap characters. For example, characters such as E<ocirc> C<o WITH CIRCUMFLEX> that lie between I and J would not be matched by the -regular expression range C</[H-K]/>. +regular expression range C</[H-K]/>. This works in +the other direction, too, if either of the range end points is +explicitly numeric: C<[\x89-\x91]> will match C<\x8e>, even +though C<\x89> is C<i> and C<\x91 > is C<j>, and C<\x8e> +is a gap character from the alphabetic viewpoint. If you do want to match the alphabet gap characters in a single octet regular expression try matching the hex or octal code such |