Re: para termination

On Sun, Nov 25, 2012 at 5:13 AM, Dave Pawson <dave.pawson@gmail.com> wrote:

> On 24 November 2012 18:39, Ryan Freebern <rfreebern@unionstmedia.com>
> wrote:
> >
> > In my opinion, the para definition should be:
> >
> > 0 to 3 space characters, arbitrary text, then EOF or (a newline character
> > followed by a blank line).
>
> Clarification if I may. Do you agree
> \s{0-3} arbitrary text termination.
>
> Testing with currentMD,
> it would appear that termination can consist of
> \n\n   | \ws+\n |\nEOF | \ws+EOF|EOF
>
> where ws is 0x20 |  0x9, I.e. any number of white space characters,
> (or the 'empty line').
>

Further clarification. I think you mean:

\n\n | \n\ws+\n | \nEOF | \n\ws+EOF | EOF

which can be shortened to

\n\ws*\n | \n\ws*EOF | EOF


Is this correct?

Ryan

Received on Sunday, 25 November 2012 12:46:33 UTC