Constant

BlueCloth::SetextHeaderRegexp

Regex for matching Setext-style headers

%r{
     (.+)                  # The title text ($1)
     \n
     ([\-=])+              # Match a line of = or -. Save only one in $2.
     [ ]*\n+
}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.