Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] Udig Search Feature


Le 18-Jan-08 à 7:15 AM, Lucas, Michael [USA] a écrit :

I had 2 quick questions about the search feature in the table view in
uDig, I am using Oracle as the datasource:

1) The search feature doesn't seem to work on numeric fields, can this
be fixed?

Can and will.  The code freeze is today so I'll squeeze this in today.


2) The search matches partial string values, is there a syntax I can use
to match only the exact string?  I tried single and double quotes.

The string can actually be any Regular Expression. I currently have it so if you put ^ or \A or \a at the beginning it knows that must be the beginning of the attribute. Also if you put $ or \Z or \z it is the end. For the exact details you have to look at some regular expression hand book. (Sorry ;) ).

I'm playing with adding the option of having quotes mean match whole word. But the problem is that while it is intuitive it breaks the Regular Expressions.

Jesse



Back to the top