IIRC the first "liberal" rx is to detect start of POD just like the Perl (language) parser does, i.e. it pauses parsing for instructions until the next =cut I think POD parsers should do the same. If the matched pod-start sequence does not match any of the known commands, it's an error condition, and we should discuss what to do then, like - throw exception - print error and/or call error callback - warn and treat the content as a plain text paragraph
-Marek Von meinem Samsung Galaxy Smartphone gesendet. -------- Ursprüngliche Nachricht -------- Von: "David E. Wheeler" <da...@justatheory.com> Datum:08.01.2015 06:39 (GMT+01:00) An: Karl Williamson <pub...@khwilliamson.com> Cc: Randy Stauner <rwstau...@cpan.org>, pod-people@perl.org Betreff: Re: Pod::Simple can treat binary as pod due to liberal/inconsistent regexp patterns