David E. Wheeler wrote:
FWIW, Pod::Simple already parses things as you expect. Here's the relevant comment:
Yes, as David says, no problem, Sean actually implemented it years ago in Pod::Simple.
# L<name> # L<name/"sec"> or L<name/sec> # L</"sec"> or L</sec> or L<"sec"> # L<text|name> # L<text|name/"sec"> or L<text|name/sec> # L<text|/"sec"> or L<text|/sec> or L<text|"sec"> # L<scheme:...> # L<text|scheme:...> So I'll just need to add some more tests I think, to make sure that nothing unexpected happens (like a a misplaced "|" or "/").
The relevant tests are in t/fcodes_l.t, with a few more in t/xhtml01.t. Allison
