diff options
author | Ivan Panchenko <39594356+ivan-pan@users.noreply.github.com> | 2021-12-26 00:14:58 +0100 |
---|---|---|
committer | James E Keenan <jkeenan@cpan.org> | 2021-12-26 00:01:25 +0000 |
commit | 91fdbfcf5544ce5d2421c0ec7f5faa35cb3eabae (patch) | |
tree | 42d0d460eef0ca440b875373fb1a6f918314da7e /pod | |
parent | d28cf2c2854ef1507811a5f4fb3d309c60987498 (diff) | |
download | perl-91fdbfcf5544ce5d2421c0ec7f5faa35cb3eabae.tar.gz |
Fix misspellings in documentation. Correct spelling of name to 'De
Morgan'.
Committer: Ivan Panchenko is now a Perl author
For: https://github.com/Perl/perl5/pull/19298
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perlre.pod | 6 | ||||
-rw-r--r-- | pod/perlrequick.pod | 2 | ||||
-rw-r--r-- | pod/perlretut.pod | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/pod/perlre.pod b/pod/perlre.pod index 989d85fb2d..049894cc37 100644 --- a/pod/perlre.pod +++ b/pod/perlre.pod @@ -43,10 +43,10 @@ contains somewhere in it, the sequence of characters "a", "b", then "c". (The C<=~ m>, or match operator, is described in L<perlop/m/PATTERN/msixpodualngc>.) -Patterns that aren't already stored in some variable must be delimitted, -at both ends, by delimitter characters. These are often, as in the +Patterns that aren't already stored in some variable must be delimited, +at both ends, by delimiter characters. These are often, as in the example above, forward slashes, and the typical way a pattern is written -in documentation is with those slashes. In most cases, the delimitter +in documentation is with those slashes. In most cases, the delimiter is the same character, fore and aft, but there are a few cases where a character looks like it has a mirror-image mate, where the opening version is the beginning delimiter, and the closing one is the ending diff --git a/pod/perlrequick.pod b/pod/perlrequick.pod index 38970dd70a..3d1ef760d8 100644 --- a/pod/perlrequick.pod +++ b/pod/perlrequick.pod @@ -84,7 +84,7 @@ In the last regex, the forward slash C<'/'> is also backslashed, because it is used to delimit the regex. Most of the metacharacters aren't always special, and other characters -(such as the ones delimitting the pattern) become special under various +(such as the ones delimiting the pattern) become special under various circumstances. This can be confusing and lead to unexpected results. L<S<C<use re 'strict'>>|re/'strict' mode> can notify you of potential pitfalls. diff --git a/pod/perlretut.pod b/pod/perlretut.pod index 6e9342a5f9..8a042fd573 100644 --- a/pod/perlretut.pod +++ b/pod/perlretut.pod @@ -478,7 +478,7 @@ Because a period is a metacharacter, it needs to be escaped to match as an ordinary period. Because, for example, C<\d> and C<\w> are sets of characters, it is incorrect to think of C<[^\d\w]> as C<[\D\W]>; in fact C<[^\d\w]> is the same as C<[^\w]>, which is the same as -C<[\W]>. Think DeMorgan's laws. +C<[\W]>. Think De Morgan's laws. In actuality, the period and C<\d\s\w\D\S\W> abbreviations are themselves types of character classes, so the ones surrounded by |