`git grep -o` (`git grep --only-matching`) has been able to print only the matched parts of a line since [v2.19.0 released in 2018](https://web.archive.org/web/20230313182235id_/git.kernel.org/pub/scm/git/git.git/commit/?id=9d8db06eb4a5d5577db559a0059a377914c1ce5a), but [beyondgrep.com doesn’t say so](https://archive.today/2023.03.13-181115/https://beyondgrep.com/feature-comparison/#selection-1919.0-1962.0).