[mapserver-users] regex question

Puneet Kishor pkishor at GeoAnalytics.com
Mon Jun 3 08:41:51 EDT 2002


try

expression "/^%KT2 %U65/"

if '%KT2 %U65' is the exact and only match, you could also add a $ at 
the end like so...

/^%KT2 %U65$/

keep in mind, the single space in between will get matched...




On Monday, June 3, 2002, at 05:01  AM, Anders Knudstrup Hansen LE34 
wrote:

> Hello....
>
> I'm trying to use regex in my class expressions... The item that I'm 
> trying to match consists of 2 parts.
>
> example:
>
> expression /^"%KT2 %U65"/ doesn't work
> expression "%KT2 %U65" works fine
>
> What is the problem with my regular expression?????
>
> Thanks
>
> / Anders




More information about the mapserver-users mailing list