About REGEX. {Scanned}

Siki Zoltan siki at AGT.BME.HU
Mon Oct 11 17:58:42 PDT 2004


Hi,

On Mon, 11 Oct 2004, Bob Basques wrote:

> 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?

No, use ^ to mask the start
>
> >
> >>
> >>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