On 8/27/06, Martin Bähr <[EMAIL PROTECTED]> wrote:
> On Sun, Aug 27, 2006 at 04:53:05PM +0200, Axel Liljencrantz wrote:
> > >however this now seems to ignore whitespace as a boundary which is
> > >rather odd...
> > No? Works for me.
> >
> > Can you give a more exact description of when this happens? What
> > string do you use, and what boundaries are ignored, specifically?
>
> indeed, should have done somemore testing, it happens with things like
> ~ . /, ...  after a space.
>
> ot appears to be that anything that fish already treats as a word
> boundary is lumped together with the previous word which is generally
> correct, but not if there is a space as part of the string which makes
> up the boundary.

My interpretatin of your suggestion is that there should be two levels
of boundaries, one with whitespace and one with other boundary
characters, and that they be treated differently. This sounds like too
complicated a rule for my liking. But you are correct that it is
unintuitive that e.g. '  ~   .   /' is removed as a single token. A
simpler rule, that will most of the time do what you propose would be
to only lump together a series of _identical_ boundary token. E.g. '
   ' is a single boundary, but ' ~.     ./' is 6 boundaries.

>
> greetings, martin.
> --
> cooperative communication with sTeam      -     caudium, pike, roxen and unix
> offering: programming, training and administration   -  anywhere in the world
> --
> pike programmer   travelling and working in europe             open-steam.org
> unix system-      bahai.or.at                        iaeste.(tuwien.ac|or).at
> administrator     (caudium|gotpike).org                          is.schon.org
> Martin Bähr       http://www.iaeste.or.at/~mbaehr/
>


-- 
Axel

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to