geographika / mappyfile

A pure Python MapFile parser for working with MapServer
MIT License
71 stars 20 forks source link

CLASS EXPRESSIONs #183

Closed geographika closed 9 months ago

geographika commented 1 year ago

The following fails to parse correctly - when using a regular expression with a class EXPRESSION:

        CLASS
            EXPRESSION /*1/
            STYLE
                COLOR 0 255 0
            END
        END

Example from https://mapserver.org/input/raster.html#classifying-rasters

geographika commented 9 months ago

When adding a test this seems to parse and print correctly - closing.