On Wed, Feb 9, 2011 at 2:40 PM, Edward Mac Gillavry
<emacgilla...@hotmail.com> wrote:
> Thanks Miles for pushing me on! Unfortunately, I had given that one a try
> already...
>
> So, my observations now:
> - ^A\d+ does NOT work to pick out road number like A2, A35, A235 etc : NOT
> OK
> - ^A[0-9]+ does NOT work to pick out road numbers like A2 A35, A235: NOT OK
> - ^A\D+ DOES work to pick out any road name starting with an A and ignores
> the road numbers that start with an A: OK!
> - ^A.+ DOES work to pick out both road names AND road numbers starting with
> an A: OK!

I'll bet that someone added a .toLower() to make the filter case
insensitive. I don't have to code on this machine to check though.
That would convert the \D to the correct \d later. I can't see why
[0-9]+ doesn't work though,

Ian

-- 
Ian Turton

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to