summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-06-27 21:32:08 -0700
committerFather Chrysostomos <sprout@cpan.org>2012-06-28 16:40:09 -0700
commitf9d4ccdc4830e30952502e4f7fa821786d59bfe0 (patch)
tree6fe5f9f44ea8d4fbc5300fcdc1b5b19334b3c4c1
parent67288365cab33e76a48b697c001c11d4dc5b1912 (diff)
downloadperl-f9d4ccdc4830e30952502e4f7fa821786d59bfe0.tar.gz
perldiag: Add missing regexp delims
-rw-r--r--pod/perldiag.pod8
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