Help with regular expression

Berend Veldkamp berend.veldkamp at ARIS.NL
Fri Sep 10 08:39:36 EDT 2004


That looks much better than
EXPRESSION /^[0-9]{0,3}[1-9]{1,3}[0-9]{0,3}[A-Z]/
but unfortunately, it doesn't work, no records are selected at all.

Can anyone tell me which flavour of RE MapServer uses? I have version
4.2 on Windows.

Berend


Attila Csipa wrote:

> On Friday 10 September 2004 13:37, Berend Veldkamp wrote:
>
>>I thought of that, but it would not catch "012" or "990". I want only
>>those records that don't start with exactly 3 zeroes.
>
>
> I have not tried it, but if it's anything like regex in perl I would write
> something like
>
> expression /^(?!000)/

--
____________________________

Berend Veldkamp - ARIS
http://www.aris.nl/
____________________________



More information about the mapserver-users mailing list