feature: patterns can now include named matches.