Updated regex to manage white space in titles

Addition of `\s*` in some regex in order to have the same behavior as in markmin2html. That is:
    
    # Title
and
   
    #Title

or:

    ## Title
and

    ##Title
will be equivalent.