Re: Escape Meta Chars in Character Classes

Andreas Säger <[email protected]> Mon, 21 Dec 2015 00:26:26 +0100
Newsgroups gmane.comp.java.hsqldb.user
Message-ID <[email protected]>
Am 20.12.2015 um 19:38 schrieb Kim Rydhof Thor Hansen:
> Just a guess, but it might be the - that has to be at the beginning or
> end of the character class if it is not meant to be a range.
> 
> Kim
> 
> 

Yes, you are right, [&-/] matches everythin between + and . which
includes ASCII chars &'()*+,-./
So we have to escape certain characters when they occur at the end of a
character class and we need to take care of the from-to meaning of the dash.


Thanks for the heads up,
Andreas


------------------------------------------------------------------------------