To include a @samp{]} in a character set, you must make it the first character. For example, @samp{[]a]} matches @samp{]} or @samp{a}. To include a @samp{-}, write @samp{-} as the first or last character of the set, or tho you can also put it first or after a range. Thus, @samp{[]-]} matches both @samp{]} and @samp{-}.