These are the formal rules for forming basic UNIX regular expressions. For some simple examples, skip to Simple Examples. The rules come from the Solaris 7 regexp(5) manual page. The I2A2 reflector ...
Regular expressions — the things you feed to programs like grep — are a bit like riding a bike. It seems impossible until you learn to do it, and then it’s easy. Part of their bad reputation is ...