About REGEX. {Scanned}

Bob Basques bob.basques at CI.STPAUL.MN.US
Mon Oct 11 15:02:55 PDT 2004


Siki Zoltan wrote:

Thanks, this should work just fine.

Now I need to figure out how to put a Tile index in front of a SHP
file.  Supposedly it can be done.

So "$" is the last CHAR.  What would I use for the First CHAR?  Just put
the $ in the front of the Bracketed stuff?

Thanks Again.

bobb


>
>>
>>All the Contours.
>>Every 2 feet. (even values)
>>
>>
>
>EXPRESSION /[02468]$/
>
>
>
>>Every 5 feet. (values ending in "0" or "5")
>>
>>
>
>EXPRESSION /[05]$/
>
>
>
>>Every 10 feet. (values ending in "0")
>>
>>
>
>EXPRESSION /0$/
>
>These regexp will work if you have integer values for the elevation.
>
>Bye
>Zoltan
>
>
>



More information about the MapServer-users mailing list