`-g`オプションを使う。 ```console rg hoge -g *.json ```