[ms4w-users] msEvalRegex(): Regular expression error. String
() failed expression test.
jmckenna at dmsolutions.ca
Thu Oct 26 10:05:14 EDT 2006
Can you maybe copy the problem layer from the mapfile and paste it into
this message? Maybe we'll see something in the layer's expression.
Anthony Gangemi wrote:
> Hi MS4W Users,
> This is my first question to the mailing list and after my foray into
> MS4W, I've now hit my first major stumbling block. My system
> configuration is Windows XP Pro (SP2), MS4W v1.5.5 with MapLab 2.2.1 and
> Chameleon 2.4 add-on packages. This base installation works well.
> I'm currently doing the exercises from Bill Kropla's book "Beginning
> MapServer: Open Source GIS Development". Whilst this book has a slant
> towards Unix\Linux systems, I can easily make the slight adjustments in
> the HTML templates and mapfiles to suit the Windows file system. Things
> like the need to include absolute file paths etcetera. I've been able to
> use Bill's source code in the book and so far I've achieved success in
> running the chapter 2 and 3 application examples. They are are fairly
> simple exercises that complement the concepts discussed in the early
> chapters of this book.
> Now I'm at Chapter 4 of the book and I'm trying to execute it's
> application example. After making some adjustments to the source code, I
> strike this error message which is returned to the browser (using IE6).
> msEvalRegex(): Regular expression error. String () failed expression test.
> It looks to be stumbling over an issue with Regular Expressions in the
> mapfile and I cannot see the problem at this stsge. Hopefully somebody
> else has experienced this problem and can provide a solution and/or
> As a reference, all the source files and map layer's I'm using is listed
> Beginning MapServer --> the book's sample application source-code:
> Chapter 4
> Original Source Code -->
> My Adjusted Source code -->
> MapLayer Source: _http://nationalatlas.gov/atlasftp.html_
> citiesx020.tar.gz -->
> roadtrl020.tar.gz -->
> statesp020.tar.gz -->
> hydrogm020.tar.gz -->
> urbanap020.tar.gz -->
> Tony Gangemi
> University of Southern Queensland, Toowoomba, Australia
> Faculty of Engineering and Surveying
> Email: gangemia[at]usq.edu.au
DM Solutions Group Inc.
More information about the ms4w-users