This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
pod/perlre.pod: fix typo in example code
authorAaron Crane <arc@cpan.org>
Sat, 5 Jul 2014 00:53:57 +0000 (01:53 +0100)
committerAaron Crane <arc@cpan.org>
Sat, 5 Jul 2014 00:53:57 +0000 (01:53 +0100)
pod/perlre.pod

index 1ceff9e..bf439ae 100644 (file)
@@ -1684,7 +1684,7 @@ An example of how this might be used is as follows:
   /(?<NAME>(?&NAME_PAT))(?<ADDR>(?&ADDRESS_PAT))
    (?(DEFINE)
      (?<NAME_PAT>....)
-     (?<ADRESS_PAT>....)
+     (?<ADDRESS_PAT>....)
    )/x
 
 Note that capture groups matched inside of recursion are not accessible