modify.cgi and add.cgi appear to have slight differences in the way they handle regex from a
table column, modify.cgi is enforcing regular expressions erroniously, can someone else confirm this or it is just me? maybe my regex is all wrong. this is what I use in a custom added image field:
^[\w-]+\.(gif|GIF|jpg|JPG|png|PNG)$
add.cgi handles this perfectly fine. I can add only
gif, jpg and png images, and I can NOT include an image and still it will work. however, modify.cgi tells me that the field (image) can not contain xxx characters, as if it is eforcing the regex in a different way.
table column, modify.cgi is enforcing regular expressions erroniously, can someone else confirm this or it is just me? maybe my regex is all wrong. this is what I use in a custom added image field:
^[\w-]+\.(gif|GIF|jpg|JPG|png|PNG)$
add.cgi handles this perfectly fine. I can add only
gif, jpg and png images, and I can NOT include an image and still it will work. however, modify.cgi tells me that the field (image) can not contain xxx characters, as if it is eforcing the regex in a different way.