Hi,

The online validator at http://www.regextester.com/ validates your string with 
your regexp.

-Jukka Rahkonen-

Andrea Peri wrote:
[mapserver-users] A trouble at validation level

Hi,
I have an error try-ing to validate this string:
afa24052-7022-4147-96bc-0478ad0d8c6f

The mapserver log return me this error message:

[Tue Apr  4 15:22:06 2017].223708 layer (idtest): failed to validate
(procedimento=afa24052-7022-4147-96bc-0478ad0d8c6f) for regex 
(^[a-zA-Z0-9\-_.\=#'&% ]+$)

I'm not so skill on regexp, and i'm not able to understand why it is not 
validated.

My mapfile fragment is this:

    VALIDATION
      'procedimento' '^[a-zA-Z0-9\-_.\=#\'&%() ]+$'
      'default_procedimento' '0'
    END

Many thx to everyone.

--
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
_______________________________________________
mapserver-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to