Hi, maybe try removing the last quotation mark after the regex. Also, I think the spaces are taken into account in your regex, so you should try remove them and see if it works. I think sth. like
EXPRESSION ('[lkod]' =~ /andezit|bazalt/ ) could work. If the field "lkod" only contains the rock names and nothing else you could try the logical expression form: EXPRESSION ('[lkod]' == 'andezit' OR '[lkod]' == 'bazalt') Cheers, Michael 2009/7/31 Ahmet Temiz <te...@deprem.gov.tr>: > hello > > I am confused with regular expression. > > EXPRESSION ('[lkod]' =~ /andezit | bazalt/' ) > > I just want to choose "andezit | bazalt" containing records. > > But I got nothing. > > can you tell what the correct expression is ? > > regards > > -- > Open WebMail Project (http://openwebmail.org) > > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > _______________________________________________ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Aufwind durch Wissen! Qualifizierte Open Source Schulungen bei der http://www.foss-akademie.de/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ----------------------------------------------------------- Michael Schulz msch...@webgis.de in medias res Gesellschaft für Informationstechnologie mbH +++ Bitte beachten Sie unsere neue Adresse und Durchwahl +++ Schwimmbadstraße 2 D-79100 Freiburg i. Br. Tel: +49 (0)761 705798-102 Tel: +49 (0)761 705798-0 Fax: +49 (0)761 705798-09 +++ Bitte beachten Sie unsere neue Adresse und Durchwahl +++ http://www.webgis.de / http://www.zopecms.de -------------------------------------------------------------- Geschäftsführer: Stefan Giese, Dr. Christof Lindenbeck Eingetragen im Handelsregister HRB 5930 beim Amtsgericht Freiburg _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users