16f270 Improve the regex for `relates to` commits

Authored and Committed by Pierre-Yves Chibon 9 years ago
    Improve the regex for `relates to` commits
    
    This way we'll get the link even if the `relates to` is in the middle of
    the text