[Geomoose-users] Regular Expression error on Search
Dan Little
danlittle at yahoo.com
Mon Aug 1 11:15:42 EDT 2011
Try adding
LAYER
...
METADATA
'id_validation_pattern' '.*'
END
END
Refs:
- http://mapserver.org/cgi/runsub.html
>________________________________
>From: geo3d <geomatrix3d at gmail.com>
>To: geomoose-users at lists.sourceforge.net
>Sent: Monday, August 1, 2011 10:07 AM
>Subject: [Geomoose-users] Regular Expression error on Search
>
>I have a repeated error as identified in Firebug whenever I do a search that
>contains a space - ie., a search on address /"254"/ - search results fine
>but when i do a combined search such as /"254 Walker"/ the following error
>persists:
>
>"/loadForm(): Web application error. Parameter 'id' value fails to validate.
>msEvalRegex(): Regular expression error. String failed expression test. /"
>
>My search parameters as per my itemquery.php:
>
>LAYER # Parcels Polygon Layer
> NAME 'ParcelsAddressSearch'
> DATA 'landrecords/parcels.shp'
> STATUS DEFAULT
> TYPE POLYGON
> TEMPLATE 'landrecords/itemquery_parcels.html'
> FILTERITEM 'STREET_2'
> FILTER /.*%id%.*/i #non case sesensitve contains regular expression
> END
>
>So, anyone know the expression to include space?
>
>--
>View this message in context: http://geomoose-users.964460.n3.nabble.com/Regular-Expression-error-on-Search-tp3216194p3216194.html
>Sent from the Geomoose-users mailing list archive at Nabble.com.
>
>------------------------------------------------------------------------------
>Got Input? Slashdot Needs You.
>Take our quick survey online. Come on, we don't ask for help often.
>Plus, you'll get a chance to win $100 to spend on ThinkGeek.
>http://p.sf.net/sfu/slashdot-survey
>_______________________________________________
>Geomoose-users mailing list
>Geomoose-users at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/geomoose-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20110801/6351ac49/attachment.html
More information about the Geomoose-users
mailing list