`+` has no special meaning inside a character class, so needn't be escaped. `-` needn't be escaped if it is placed immediately after the opening `[`. The character class could therefore be written `[-+\x20]`.