Added support for g relative backreferences like \g-1.. \g-99, and \g{-1}.. \g{-99}. (Last part of #4.)
Added formatting markers.