gitweb: Better cutting matched string and its context