Does anyone have code for finding a file that contains a regular expression? I would assume you could have two different flavors, one for BREs and one for EREs.
You
Beyond
egrep '/.+/' file
you're looking at a really involved exercise.