[Zope] Indexing: ZopeSplitter and numbers
Richard Jones
richard@bizarsoftware.com.au
Wed, 14 Nov 2001 08:38:14 +1100
On Wednesday 14 November 2001 05:52, Casey Duncan wrote:
> On Tuesday 13 November 2001 07:05 am, Andreas Jung allegedly wrote:
> > The answer is - as always - in the sources ;-) The splitting algorithm is
> > pretty dumb. Roughly spoken it splits the text in words but not into
> > numbers.
> > To test the splitter try this:
> >
> > from ZopeSplitter import ZopeSplitter
> > print list(ZopeSplitter('abc 123 t353 nmj'))
> >
> > gives ['abc', 't353', 'nmj']
> >
> >
> > Andreas
>
> Has there been any thought in changing this behavior? I smell a fish bowl
> prop...
Amen to the change, but does it really require a proposal? I get the feeling
this is leaning seriously towards "bug" territory.
Richard