Patterns saving - dump pattern to string.