diff options
author | Father Chrysostomos <sprout@cpan.org> | 2012-06-27 21:32:08 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-06-28 16:40:09 -0700 |
commit | f9d4ccdc4830e30952502e4f7fa821786d59bfe0 (patch) | |
tree | 6fe5f9f44ea8d4fbc5300fcdc1b5b19334b3c4c1 | |
parent | 67288365cab33e76a48b697c001c11d4dc5b1912 (diff) | |
download | perl-f9d4ccdc4830e30952502e4f7fa821786d59bfe0.tar.gz |
perldiag: Add missing regexp delims
-rw-r--r-- | pod/perldiag.pod | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod index d18279ff56..f6861741b8 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -1449,13 +1449,13 @@ will match. This may be counterintuitive at times, as both these fail: - chr(0x110000) =~ \p{ASCII_Hex_Digit=True} # Fails. - chr(0x110000) =~ \p{ASCII_Hex_Digit=False} # Also fails! + chr(0x110000) =~ /\p{ASCII_Hex_Digit=True}/ # Fails. + chr(0x110000) =~ /\p{ASCII_Hex_Digit=False}/ # Also fails! and both these succeed: - chr(0x110000) =~ \P{ASCII_Hex_Digit=True} # Succeeds. - chr(0x110000) =~ \P{ASCII_Hex_Digit=False} # Also succeeds! + chr(0x110000) =~ /\P{ASCII_Hex_Digit=True}/ # Succeeds. + chr(0x110000) =~ /\P{ASCII_Hex_Digit=False}/ # Also succeeds! =item %s: Command not found |