Skip to content
Snippets Groups Projects
Commit b1df4623 authored by Kieron Taylor's avatar Kieron Taylor :angry:
Browse files

Try to tolerate plural examples.

parent 536a92c9
No related branches found
No related tags found
No related merge requests found
......@@ -348,7 +348,7 @@ sub pod_method_parser {
$code = undef;
}
if (/Example\s+:(.*)/) { #starts code section at Example : in POD
$_ =~ s#(Example\s+:)(.*)#$1</pre>\@code$2#;
$_ =~ s#(Examples?\s+:)(.*)#$1</pre>\@code$2#;
$code = 1;
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment