I knew I should have tested that instead of just typing (go to
http://www.regexplanet.com/advanced/java/index.html to test more if needed)
try something like ,?15[^0-9]? - though I think you will need to chop the
commas off a strReplace function too. So you;d end up with something like
(untested)
<ogc:function name="strReplace">
<ogc:Function name="isLike">
<ogc:PropertyName>attr</ogc:PropertyName>
<ogc:Literal>,?15[^0-9]?</ogc:Literal>
</ogc:Function>
<ogc:Literal>,</ogc:Literal>
<ogc:Literal></ogc:Literal>
<ogc:Literal>true</ogc:Literal>
</ogc:Function>
Ian
On 30 March 2016 at 17:16, Geoffrey <[email protected]> wrote:
> Thank you for your help
>
> Unfortunately, this is not working:
>
> <ogc:Function
> name="isLike">
>
> <ogc:PropertyName>attr</ogc:PropertyName>
>
> <ogc:Literal>*15[^0-9]?</ogc:Literal>
> </ogc:Function>
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/Filtering-on-an-attribute-containing-list-of-values-tp5258310p5258863.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
--
Ian Turton
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users