Hi Edward, I am not sure if you can use a regex directly in a PropertyIsLike, did you try using the String function strMatches in a Filter?
http://docs.geoserver.org/stable/en/user/filter/function_reference.html Best regards, Bart > > Hi all, > > The data set I am currently dealing with contains both road numbers and > road names in the same database field. Fortunately, the structure of road > numbers is easy enough to filter them out? I would use the following regex > "A\d+" to pick up A2,A35,A252 > > However the following SLD filter doesn't seem to pick out the road > numbers: > > <ogc:PropertyIsLike wildCard="*" singleChar="." escapeChar="!"> > > <ogc:PropertyName>openbareruimtenaam</ogc:PropertyName> > > <ogc:Literal>A\d+</ogc:Literal> > > </ogc:PropertyIsLike> > > Should I be looking into CQL instead or is there even a more obvious > approach? Many thanks in advance. > > Edward > > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better > price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d_______________________________________________ > Geoserver-users mailing list > Geoserver-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-users > ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users