Dennis,

have you tried the "!~" operator?

like

['link_id'] !~ /(p|P)/

I guess Mapserver uses partially the Perl syntax, somehow.

Armin

> --- Urspr?ngliche Nachricht ---
> Von: DJ Broerse <[EMAIL PROTECTED]>
> An: [EMAIL PROTECTED]
> Betreff: [Pmapper-users] Searchengine query with is-not operator
> Datum: Tue, 03 Jan 2006 11:02:04 +0100
> 
> Hello Armin
> 
> I am working on the search engine. I would like to make it possible to 
> search with the is-not operator.
> By example where link_id != p
> After searching the source code I found the the query
> ['link_id'] =~ /(p | P)/
> I thought it was normally reg ex so to make it possible to search with 
> the is-not operator you have to rewrite the query:
> ['link_id'] =~ /[pP]/ and with the is-not operator ['link_id'] =~ /[^pP]/
> 
> But this isn't working yet probably it is a Mapserver issue.
> Maybe you can help me solve this problem.
> 
> Thanks in advance
> 
> Dennis-Jan
> 
> -- 
> DJ Broerse    [EMAIL PROTECTED] 
> Mobiel: 06 48 01 03 08 
> Skype: callto://dennisjan-ibuildings
> Ibuildings.nl BV - Information technology 
> http://www.ibuildings.nl - 0118 42 95 50 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Pmapper-users mailing list
> [EMAIL PROTECTED]
> http://faunalia.it/cgi-bin/mailman/listinfo/pmapper-users
> 

-- 
Telefonieren Sie schon oder sparen Sie noch?
NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie

Reply via email to