provides an easy way to string together match/replacement operations in an error-free manner