[mapserver-users] problem with Regular Expression

Marc-André Trottier trottier.marcandre at gmail.com
Mon Oct 17 09:26:07 EDT 2011


hi!
i'm using Mapserver 6.0 and got this error :

msValidateParameter(): Regular expression error. Parameter pattern
validation failed.

with this CLASS :
 CLASS
    NAME "Région administrative"
    EXPRESSION  ('[res_co_reg]' eq '%RES_CO_REG%')
    GROUP "adn"
    LABEL
        COLOR 139 35 35
        ANTIALIAS FALSE
        TYPE TRUETYPE
        FONT "verait"
        SIZE 12
        POSITION AUTO
        FORCE FALSE
        MINDISTANCE 10000
        PARTIALS FALSE
        BUFFER 3
    END
    STYLE
        OUTLINECOLOR 139 35 35
        WIDTH 5
    END
END

but everything works well

i also tried and the error always appear :

    EXPRESSION  ("[res_co_reg]" eq "%RES_CO_REG%")
    EXPRESSION  ('[res_co_reg]' = '%RES_CO_REG%')
    EXPRESSION  ([res_co_reg] eq %RES_CO_REG%)
    EXPRESSION  ("[res_co_reg]" = "%RES_CO_REG%")
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20111017/aef55dc5/attachment.html


More information about the mapserver-users mailing list