That doesn't bother me. The OP seemed to be discussing the validity and practicality of single-entry character classes. And I believe he was discussing them in the context of the [....] operator in a regexp. The backslash CC's and property CC's are already 'single entry', so probably not really so relevant to the discussion, particularly where they can stand-alone outside of a user-defined character class.
Certainly the POSIX classes constitute "single entries". And that's definitely another good argument for why single-entry character classes are practical, and should be legal (which, of course, they are).
The negated character class of a single entry just happened to be the first example that jumped to my mind. Your POSIX thought is great too.
Dave
In reply to Re^3: Why would one want in a regex a class with only a single entry?
by davido
in thread Why would one want in a regex a class with only a single entry?
by ack
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |