Adds some characters to the pattern.