[MS4W-Users] msValidateParameter(): Regular expression error. Parameter pattern validation failed.

Jeff McKenna jmckenna at gatewaygeomatics.com
Tue Jun 12 17:08:32 EST 2012


On 12-06-12 6:54 PM, Richard Greenwood wrote:
> I have a thread going on the mapserver-users list with the subject
> "Regular expression error" and it's beginning to look like my issue
> may be Windows specific so it was suggested that I also describe the
> problem here.
> 
> My mapserver error log file is full of the following errors:
> msValidateParameter(): Regular expression error. Parameter pattern
> validation failed.
> but the same the same map file, same data and same requests to do not
> create any log file entries. I'm seeing this only on MS4W builds of
> mapserver 6.0.2 and 6.0.3. The maps are drawing correctly and I don't
> think the regex is actually incorrect, but each map draw can produce
> 50 lines of exactly the same error message.
> 
> So I guess my first question is - if you are running a mapserver error
> log file, are you seeing similar messages?

Hi Rich,

Recent versions of MS4W no longer use the regex library because of its
restrictive license, so we now use the PCRE library
(http://www.pcre.org/).  You can check your local MS4W build versions at
any time by reading your local install readme
(127.0.0.1/README_INSTALL.html#mapserver-build-environment).

It would be great if you could run your tests on Linux and Windows with
that same PCRE library.

Thank you for using MS4W.

-jeff




-- 
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/




More information about the MS4W-Users mailing list