pod/perlfaq2.pod Verbatim line length including indents exceeds 80 by 1
pod/perlfaq4.pod Verbatim line length including indents exceeds 80 by 16
pod/perlfaq5.pod Verbatim line length including indents exceeds 80 by 40
-pod/perlfaq6.pod ? Should you be using L<...> instead of 2
pod/perlfaq6.pod Verbatim line length including indents exceeds 80 by 36
pod/perlfaq7.pod Verbatim line length including indents exceeds 80 by 7
pod/perlfaq8.pod Verbatim line length including indents exceeds 80 by 20
pod/perlhurd.pod Verbatim line length including indents exceeds 80 by 2
pod/perlintern.pod ? Should you be using L<...> instead of 5
pod/perlintern.pod Verbatim line length including indents exceeds 80 by 26
-pod/perlinterp.pod ? Should you be using L<...> instead of 3
+pod/perlinterp.pod ? Should you be using L<...> instead of 1
pod/perlinterp.pod Verbatim line length including indents exceeds 80 by 1
pod/perlintro.pod Verbatim line length including indents exceeds 80 by 11
pod/perliol.pod Verbatim line length including indents exceeds 80 by 8
pod/perlos2.pod Apparent internal link is missing its forward slash 3
pod/perlos2.pod Verbatim line length including indents exceeds 80 by 22
pod/perlos390.pod Verbatim line length including indents exceeds 80 by 11
-pod/perlpacktut.pod ? Should you be using L<...> instead of 1
pod/perlpacktut.pod Verbatim line length including indents exceeds 80 by 6
pod/perlperf.pod Verbatim line length including indents exceeds 80 by 154
pod/perlpodspec.pod Verbatim line length including indents exceeds 80 by 9
# If looks like a reference to other documentation by containing the
# word 'See' and then a likely pod directive, warn.
-
- while ($paragraph =~ m{ \b See \s+
- ( ( [^L] ) <
- ( [^<]*? ) # The not-< excludes nested C<L<...
- > )
+ while ($paragraph =~ m{
+ ( (?: \w+ \s+ )* ) # The phrase before, if any
+ \b [Ss]ee \s+
+ ( ( [^L] )
+ <
+ ( [^<]*? ) # The not < excludes nested C<L<...
+ >
+ )
( \s+ (?: under | in ) \s+ L< )?
- }ixg) {
- my $construct = $1; # The whole thing
- my $type = $2;
- my $interior = $3;
- my $trailing = $4; # After the whole thing ending in "L<"
+ }xg) {
+ my $prefix = $1 // "";
+ my $construct = $2; # The whole thing, like C<...>
+ my $type = $3;
+ my $interior = $4;
+ my $trailing = $5; # After the whole thing ending in "L<"
+
+ # If the full phrase is something like, "you might see C<", or
+ # similar, it really isn't a reference to a link. The ones I saw
+ # all had the word "you" in them; and the "you" wasn't the
+ # beginning of a sentence.
+ if ($prefix !~ / \b you \b /x) {
# Now, find what the module or man page name within the construct
# would be if it actually has L<> syntax. If it doesn't have that
parameter => $construct
});
}
+ }
}
while ($paragraph =~ m/$C_path_re/g) {
my $construct = $1;