Thread: [Fwd: Q: regcomp failed with error invalid character range]

[Fwd: Q: regcomp failed with error invalid character range]

From
Robert
Date:
With [\200-\377] instead of [\0200-\0377] it works. Sorry.

- R.I need to select records with description containing chars with highest
bit set but

    select * from table where descr ~ '.*ATU[\0200-\0377].*';

fails with error

    ERROR:  regcomp failed with error invalid character range

Any idea how to work around it? Thanks.

- Robert

P.S. This is 7.0.2 from RPM on RH 6.1, locale is CZ, database is with
encoding 'latin2' (8).