Constant

BlueCloth::LooseBlockRegex

More-liberal block-matching

%r{
      ^                                             # Start of line
      <(#{LooseTagPattern}) # start tag: \2
      \b                                            # word break
      (.*\n)*?                              # Any number of lines, minimal match
      .*</\1>                                       # Anything + Matching end tag
      [ ]*                                  # trailing spaces
      $                                             # End of line or document
}ix
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.