[mapserver-users] Problems when using complex expressions

Andreas Albarello andreas.albarello at territoriumonline.com
Tue Jul 21 06:02:21 PDT 2009


Adrian Popa wrote:
> Thanks, Andreas,
> 
> I've tried your solution (and already looked over the manual) but it 
> still doesn't match anything...
> 
> Also - EXPRESSION ("[myColumn]" =~ /MYREGEXP/i) doesn't match anything
> and EXPRESSION "[myColumn]" =~ /MYREGEXP/i   complains of a syntax error.

Adrian,

brackets are always required around expressions like that, so that 
explains why the second example you posted doesn't work.

The first one, however, should. I'll admit, though, that I've never used 
it with the /i (case-insensitive, I guess) at the end.

Best regards,
-- 
--------------------------------------------------------------------
Andreas Albarello
Analysis & SW Development

Territorium Online srl/GmbH
Via Buozzi Str. 12
I 39100 Bolzano/Bozen

Phone:  +39 0471 068611
Fax:    +39 0471 068619

email: andreas.albarello at territoriumonline.com
web:   http://www.territoriumonline.com
--------------------------------------------------------------------



More information about the MapServer-users mailing list