[Zope] case insensitive search?

Aleksander Salwa ololo@zeus.polsl.gliwice.pl
Wed, 3 Jan 2001 20:22:52 +0100 (CET)


  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

--8323328-715993285-978549772=:775
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Wed, 3 Jan 2001, Robin Becker wrote:

> Is there an easy way to make the Find tab case insensitive. It seems
> like a very common need, but I see that FindSupport.py is calling
> string.find which makes it seem as though this is harder than it should
> be.

Now, I did it better way. No regular expressions. Just case-insensitive
search. "Case insensitive" checkbox on "Find" form.
If you need it - just take a look at an attachment.
Maybe I will send it to the Collector...


ololo@zeus.polsl.gliwice.pl, oleks@helper.pl

/--------------------------------------\
| `long long long' is too long for GCC |
\--------------------------------------/

--8323328-715993285-978549772=:775
Content-Type: APPLICATION/x-gtar; name="caseInsensitiveFind.tgz"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.21.0101032022520.775@localhost>
Content-Description: 
Content-Disposition: attachment; filename="caseInsensitiveFind.tgz"

H4sIAIp6UzoAA+1Z63PaOBDP1/JX7PAFGAy1jcHAhExyTdLLTZPLNeQevblh
hBFBPb/GEm3y358kv41JSJvk2jvvMPFDuytpV/tb7+aUuIurte97Aev6dzMf
MWu198Skaqo6MIw9NaTi1dQGgz3V1HVjYBqGpnP+3kDt74H61AspozVlKADY
CzyP3cf30Ph3Sp1OB07zZ8ALyM2r3/ACfkIuQA+00Zj/9AHoqqrV2u12QSDL
q6tjdTjumSHv4SF0RrpiQlv+PTyswTLwHHhre3NkUyCOUAE/Ts/fnRIbR6PH
nrV2sMum2PFtxHD3eDq7ZsSO2c9c7jLXwsfEYgrEXOIpVsAfp8TBsUD8XOvI
YcoC4t7Eg0u+l1p7y4ACtvcZB5HeI8vClL7xXBZ4yWpuMLvC1jog7O4cuehG
cNfAshGlWTs1T24Zdinx3DdiqPsDorg1lhbSdE0ZQVtcNEMaaY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