Re: expanding =begin

[email protected] (Ricardo Signes)
Newsgroups perl.pod-people
Message-ID <[email protected]>
* Allison Randal <[email protected]> [2009-12-01T05:44:02]
> David E. Wheeler wrote:
> >
> >Makes sense to me, but I think that you need to update the regex to include the (optional) parameter. Something like:
> >
> >  C<m/\A:?[−a−zA−Z0−9_]+(?:\s+[−a−zA−Z0−9_]+)?\z/>
> 
> Best is to keep the regex the same for the formatname (which is
> strictly defined), and just say "everything after the space to the
> end of the line" is the parameter.

Agreed.  Then we avoid accidentally limiting the content of the parameter
beyond "valid content for a Pod paragraph."

-- 
rjbs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.