Regular expressions are a powerful way of specifying text-matching patterns in a concise way. They are very useful in text-processing applications, so D provides a regular expression library std.regex in its standard library Phobos.