AboutWelcome to Free Software Daily (FSD). FSD is a hub for news and articles by and for the free and open source community. FSD is a community driven site where members of the community submit and vote for the stories that they think are important and interesting to them. Click the "About" link to read more...

In a recent article I wrote about using regular expressions in editors, I mentioned the fact that by default, Emacs will match newlines when using a complemented character set, and vim won't. A helpful reader, Tim Chase, contacted me to share a way around this.

Juliet Kemp shares some useful regular expressions for finding things on your Linux system. She also guides us through the perilous minefields of single quotes, double quotes, and shell expansion, and shows us how to craft our own custom regular expressions.