DEV Community

John Mitchell
John Mitchell

Posted on

Grep.app is spectacular for code search

❤️ Grep.app: it's spectacular for code searches. Much more specific vs good old Google.

With Grep.app, the searches fit coding requirements much better. They can be case sensitive, can be complete words (vs substrings), and can match regular expressions. In practice, I always turn on the Case sensitive and Whole words options:

grep.app search box

example: Kubernetes

The following produces 250,000 Kubernetes YAML manifests.

https://grep.app/search?q=apiVersion%3A&words=true&filter[lang][0]=YAML

example: K8s volumes in Helm charts

https://grep.app/search?q=volume%3A&case=true&words=true&filter[lang][0]=YAML&filter[path][0]=charts/

example: AWS QueuePolicy, written in CloudFormation

https://grep.app/search?q=QueuePolicy&words=true&filter[lang][0]=YAML

example: functions in Makefiles(!)

https://grep.app/search?q=%24%28call&case=true&words=true&filter[lang][0]=Makefile

example: Pygame module usage in Python

https://grep.app/search?q=import.%2Apygame&regexp=true&case=true&filter[lang][0]=Python

example: Gnuplot documentation

https://grep.app/search?q=gnuplot&case=true&words=true&filter[lang][0]=Markdown

Top comments (0)