This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Clarify perlrebackslash.pod
[perl5.git] / pod / perlcheat.pod
index 8173aa7..7f2c830 100644 (file)
@@ -35,11 +35,11 @@ already be overwhelming.
   << >>                   while  ( ) { }, until ( ) { }
   named uops              if     ( ) { } elsif ( ) { } else { }
   < > <= >= lt gt le ge   unless ( ) { } elsif ( ) { } else { }
-  == != <=> eq ne cmp     for equals foreach (ALWAYS)
+  == != <=> eq ne cmp ~~  for equals foreach (ALWAYS)
   &
   | ^              REGEX METACHARS            REGEX MODIFIERS
   &&               ^     string begin         /i case insens.
-  ||               $     str. end (before \n) /m line based ^$
+  || //            $     str. end (before \n) /m line based ^$
   .. ...           +     one or more          /s . includes \n
   ?:               *     zero or more         /x ign. wh.space
   = += -= *= etc.  ?     zero or one          /g global
@@ -47,9 +47,9 @@ already be overwhelming.
   list ops         ()    capture
   not              (?:)  no capture       REGEX CHARCLASSES
   and              []    character class  .  == [^\n]
-  or xor           |     alternation      \s == [\x20\f\t\r\n]
-                   \b    word boundary    \w == [A-Za-z0-9_]
-                   \z    string end       \d == [0-9]
+  or xor           |     alternation      \s == whitespace
+                   \b    word boundary    \w == word characters
+                   \z    string end       \d == digits
   DO                                      \S, \W and \D negate
   use strict;        DON'T
   use warnings;      "$foo"           LINKS
@@ -84,7 +84,7 @@ Perl 6 version to show that Perl will stay Perl.
 
 =head1 AUTHOR
 
-Juerd Waalboer <juerd@cpan.org>, with the help of many Perl Monks.
+Juerd Waalboer <#####@juerd.nl>, with the help of many Perl Monks.
 
 =head1 SEE ALSO