On Fri, 27 Sep 2002, Steve Downey wrote:

> OK the problem now is (and this is in no way a holdup, it's in the class of
> "Doc it hurts when I do this") UNSET isn't a signalling value. 0 is a
> legitimate character. Now, you would have to construct a range of, e.g.,
> "Z-\u0000", which is silly. But that range wouldn't be a range. Reverse
> ranges are broken, anyway, though.

Yeah. I agree though that this is something to fix when reverse ranges are
introduced.

>
> This is odd, though:
>
>         if("-".equals(str)) {
>             range = new CharRange('_');
>             set.add(range);
>             return;
>         }
>
> Shouldn't that be new CharRange('-')?

Fixed. I blame gremlins. I added a test to notice this.

One thing to decide at some point is what "a-" means. Currently this is an
unsupported syntax.

Hen



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to