Hello all,
Yesterday I binded Mapserver generated images on a Shiny (R) application 
through CGI and I had to include a VALIDATION section for being able to send 
values as variables for filtering. I wonder why it didn't allow me specify 
something like "^[TRUE|FALSE]$" or "^TRUE|FALSE$" to validate a boolean value 
but "^[A-Z]{4,5}$".
However, I don't know if it's possible to define some well-known regex flags in 
code like "[:INTEGER:]" for "^[0-9]+$", "[:DOUBLE:]" for "^[0-9]+[.][0-9]+$" or 
"[:BOOLEAN:]" for "^[TRUE|FALSE]$" or "^[tT|fF]$". I understand that leaving it 
open is more flexible and it's ok, but perhaps adding these flags can be easier 
to use. I don't know, what do you think ?


MSc. Carlos Ruiz
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to