Yeah, `{`, `}`, and `^` at least are allowed too.

According to [this stackoverflow answer](http://stackoverflow.com/a/5163309/1106202), this beast of a regex should work: `/\A[a-z_\-\[\]\\^{}|`][a-z0-9_\-\[\]\\^{}|`]*\z/i`