some "l" (ell) patterns that should(?) work, but don'

This is a discussion on some "l" (ell) patterns that should(?) work, but don' within the Mutt forums in Other Technologies category; These three work fine as mutt-pats for "l" (ell) commmand: ! ( ~f dkcombs | ~s pacifica | ~s alliance | ~s wbai | ~f huffingtonpost | ~f commondreams | ~f tompaine | ~f alternet | ~s lynx | ~f palast | ~f motherjones ) ! ( ~s "pacifica" | ~s "alliance" | ~s "wbai" ) ( ~s "long" ) ! ( ~s "pacifica" | ~s "alliance" | ~s "wbai" ) ( ~s "adult " ) ( ~s "macy " ) But not these two: ! ( ~s "pacifica" | ~s "alliance" | ~s "wbai" ) ~s "long" | ~s ...

Go Back   Application Development Forum > Other Technologies > Mutt

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 09-15-2008, 01:21 PM
David Combs
Guest
 
Default some "l" (ell) patterns that should(?) work, but don'



These three work fine as mutt-pats for "l" (ell) commmand:

! ( ~f dkcombs | ~s pacifica | ~s alliance | ~s wbai | ~f huffingtonpost | ~f commondreams | ~f tompaine | ~f alternet | ~s lynx | ~f palast | ~f motherjones )


! ( ~s "pacifica" | ~s "alliance" | ~s "wbai" ) ( ~s "long" )
! ( ~s "pacifica" | ~s "alliance" | ~s "wbai" ) ( ~s "adult " )
( ~s "macy " )


But not these two:

! ( ~s "pacifica" | ~s "alliance" | ~s "wbai" ) ~s "long" | ~s adult " | ~s "dear "
! ( ~s "pacifica" | ~s "alliance" | ~s "wbai" ) ( ~s "long" | ~s adult " | ~s "dear " )

Why not?



Oh, please document (or better yet, fix!), any trailing whitespace
IS NOT AUTOMATICALLY TRIMMED AWAY.

The FIX is for mutt to of course do a "trim" at both ends.

(If someone *wants* trailing spaces in a pattern, he can/should us quotes)


Thanks!

David


Reply With Quote
  #2  
Old 09-16-2008, 07:47 PM
Eike Rathke
Guest
 
Default Re: some "l" (ell) patterns that should(?) work, but don'

* David Combs, 2008-09-15 17:21 UTC:
> ! ( ~s "pacifica" | ~s "alliance" | ~s "wbai" ) ~s "long" | ~s adult " | ~s "dear "
> ! ( ~s "pacifica" | ~s "alliance" | ~s "wbai" ) ( ~s "long" | ~s adult " | ~s "dear " )


> Why not?


Both have unmatched quote characters.

> Oh, please document (or better yet, fix!), any trailing whitespace
> IS NOT AUTOMATICALLY TRIMMED AWAY.


> The FIX is for mutt to of course do a "trim" at both ends.


Mutt takes user input. Why should it modify that?

> (If someone *wants* trailing spaces in a pattern, he can/should us quotes)


If someone does not want trailing spaces, do not enter them.

Eike

--
PGP/OpenPGP/GnuPG encrypted mail preferred in all private communication.
Key ID: 0x293C05FD - 997A 4C60 CE41 0149 0DB3 9E96 2F1A D073 293C 05FD
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 06:01 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.