Constant

BlueCloth::BlockQuoteRegexp

Pattern for matching Markdown blockquote blocks

%r{
        (?:
              ^[ ]*>[ ]?           # '>' at the start of a line
                .+\n                       # rest of the first line
              (?:.+\n)*            # subsequent consecutive lines
              \n*                          # blanks
        )+
}x
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.