[Mapserver-users] regular expression help
Stender, Amy ERDC-CRREL-NH Contractor
Amy.Stender at erdc.usace.army.mil
Thu Jan 9 08:54:39 PST 2003
hello,
i'm trying to write a regular expression in my map file. to recognize:
1. shrub native__salix exigua
2. shrub native__salix goodingii
3. shrub native__salix laevigata
4. shrub native__salix lasiopis
etc...
i found that the following regular expression works for my CLASS EXPRESSION: /shrub native__*/
BUT now i have:
1. Trees/Woodland/Forest, Native__blah
2. Trees/Woodland/Forest, Native__blah1
3. Trees/Woodland/Forest, Native__blah2
4. Trees/Woodland/Forest, Native__blah3
the forward slashes confuse my regular expression, so i tried using escape characters:
/Trees\/Woodland\/Forest, Native__*/
but this did not work. the error is: loadClass(): Unknown identifier. (Woodland/Forest).
any ideas on another escape character or a work-around?
thanks,
amy
Amy L. Stender
Remote Sensing/GIS Center
Cold Regions Research and Engineering Laboratory
United States Army Corps of Engineers
72 Lyme Road, Hanover, NH 03755-1290
Tel: (603) 646-4733
Fax: (603) 646-4730
Amy.Stender at erdc.usace.army.mil
More information about the MapServer-users
mailing list