Regex and grep: Data flow and building blocks
In Introducing regular expressions, I covered what they are and why they’re useful. Now let’s take a deeper look at how they’re created. Because GNU
grep
is one of the tools I use the most (that provides a more or less standardized implementation of regular expressions), I will use that set of expressions as the basis for this article. We will then look atsed
(another tool that uses regular expressions) in a later article.
Source: Regex and grep: Data flow and building blocks, an article by David Both.