Re: un-alternates?

2002-04-09 Thread David T-G
dgc -- ...and then David Champion said... % % * On 2002.04.06, in [EMAIL PROTECTED], % * Rob 'Feztaa' Park [EMAIL PROTECTED] wrote: % Alas! David T-G spake thus: ... % % Use perl or python or egrep of emacs or some of the more modern vi ... % recall that egrep is *not* the same as

Re: un-alternates?

2002-04-09 Thread David Champion
* On 2002.04.09, in [EMAIL PROTECTED], * David T-G [EMAIL PROTECTED] wrote: Why not a quick hack that uses mutt's, or whatever regex library mutt is using? I don't get the perl source bit... Oops. I did mean mutt's regex.c -- just a typo. -- -D.[EMAIL PROTECTED]NSIT

Re: un-alternates?

2002-04-09 Thread David T-G
dgc -- ...and then David Champion said... % % * On 2002.04.09, in [EMAIL PROTECTED], % * David T-G [EMAIL PROTECTED] wrote: % % Why not a quick hack that uses mutt's, or whatever regex library mutt is % using? I don't get the perl source bit... % % Oops. I did mean mutt's regex.c --

Re: un-alternates?

2002-04-08 Thread David Champion
* On 2002.04.06, in [EMAIL PROTECTED], * Rob 'Feztaa' Park [EMAIL PROTECTED] wrote: Alas! David T-G spake thus: % Use perl or python or egrep of emacs or some of the more modern vi % clones etc. Agreed; a little perl one-liner was what I had in mind, since I vaguely recall that

Re: un-alternates?

2002-04-08 Thread Rocco Rutte
Hi, * David Champion [04/09/02 00:40:53 CEST] wrote: [ regular expressions in mutt ] But can we assume that perl is the same? Not until quite long test runs. I don't believe that we can. That's the essence of the question; unfortunately it needs someone who's been paying attention to code

Re: un-alternates?

2002-04-08 Thread Cameron Simpson
On 17:40 08 Apr 2002, David Champion [EMAIL PROTECTED] wrote: | Agreed; a little perl one-liner was what I had in mind, since I vaguely | recall that egrep is *not* the same as mutt. | | But can we assume that perl is the same? I don't believe that we can. No, but close enough to pick the

Re: un-alternates?

2002-04-07 Thread Peter T. Abplanalp
On Sat, Apr 06, 2002 at 10:12:46PM -0700, Rob 'Feztaa' Park wrote: Here you go: while (STDIN) { if (m/the regex you are testing/) { print It matches!\n; } else { print It doesn't match!\n; } } i would suggest you pass in both the regex and the email. that way

Re: un-alternates?

2002-04-07 Thread David T-G
Rob -- ...and then Feztaa said... % % Alas! David T-G spake thus: % % Use perl or python or egrep of emacs or some of the more modern vi % % clones etc. % % Agreed; a little perl one-liner was what I had in mind, since I vaguely % recall that egrep is *not* the same as mutt. % % Here you

Re: un-alternates?

2002-04-07 Thread Rob 'Feztaa' Park
--WChQLJJJfbwij+9x Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Alas! David T-G spake thus: % Here you go: =20 [snip] =20 You call that a one-liner? Good grief; who taught you how to count?? Why settle for a one liner

Re: un-alternates?

2002-04-07 Thread Nicolas Rachinsky
* David T-G [EMAIL PROTECTED] [2002-04-07 10:37:45 -0500]: Rob -- ...and then Feztaa said... % % Alas! David T-G spake thus: % % Use perl or python or egrep of emacs or some of the more modern vi % % clones etc. % % Agreed; a little perl one-liner was what I had in mind, since I

Re: un-alternates?

2002-04-06 Thread David T-G
Rob -- ...and then Feztaa said... % % Alas! David T-G spake thus: % possibilities, is there a way to un-alternates a regexp? Barring that, ... %alternates=(!(^lauratg.*)@justpick) ... % % Well, there's only one way to find out if that works ;) No, there's AT LEAST one way. A much

Re: un-alternates?

2002-04-06 Thread Rob 'Feztaa' Park
--y0ulUmNC+osPPQO6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Alas! David T-G spake thus: % Well, there's only one way to find out if that works ;) =20 No, there's AT LEAST one way. A much easier way is to ask around :-)

Re: un-alternates?

2002-04-06 Thread David T-G
David, et al -- ...and then David Champion said... % % * On 2002.04.06, in [EMAIL PROTECTED], % * David T-G [EMAIL PROTECTED] wrote: % possibilities, is there a way to un-alternates a regexp? Barring that, % can I specify that an entire string (lauratg) be not-matched in the %

Re: un-alternates?

2002-04-06 Thread Rocco Rutte
Hi, * Rob 'Feztaa' Park [04/06/02 23:48:54 CEST] wrote: Well obviously the only solution here is to register a second domain and tell your wife and kids that their new email address is [EMAIL PROTECTED] (and whatever else for your kids), then the 'justpick' thing will only match your address

Re: un-alternates?

2002-04-06 Thread David T-G
Rocco -- ...and then Rocco Rutte said... % % Hi, Hello! % % * Rob 'Feztaa' Park [04/06/02 23:48:54 CEST] wrote: % Well obviously the only solution here is to register a second domain and % tell your wife and kids that their new email address is % [EMAIL PROTECTED] (and whatever else for

Re: un-alternates?

2002-04-06 Thread David T-G
Rob -- ...and then Feztaa said... % % Alas! David T-G spake thus: % % I'd love the answer to this, too, for the same bogus-messages reason as % well as not having to whip up a special muttrc and then find a folder % with a message to match... % % I'm pretty sure I once saw somebody on

Re: un-alternates?

2002-04-06 Thread Cameron Simpson
On 12:32 06 Apr 2002, David T-G [EMAIL PROTECTED] wrote: | I have a number of addresses here at my sites and it's quite convenient | to simply put | | alternates=justpick | | in my muttrc (well, there are some old bigfoot ones and such, too, but | that's not the point). How large a number?

Re: un-alternates?

2002-04-06 Thread David T-G
Cameron, et al -- ...and then Cameron Simpson said... % % On 12:32 06 Apr 2002, David T-G [EMAIL PROTECTED] wrote: % | I have a number of addresses here at my sites and it's quite convenient % | to simply put % | % | alternates=justpick % | % | in my muttrc (well, there are some old bigfoot

Re: un-alternates?

2002-04-06 Thread David T-G
Cameron, et al -- ...and then Cameron Simpson said... % % On 16:21 06 Apr 2002, Rob 'Feztaa' Park [EMAIL PROTECTED] wrote: ... % | Then somebody else had tried to use the exact regex in either perl or ... % | So try fooling with some sed regex's to get a working match, then use % | that in

Re: un-alternates?

2002-04-06 Thread Cameron Simpson
On 19:00 06 Apr 2002, David T-G [EMAIL PROTECTED] wrote: | % I just had an idea, though -- David, what are all the email addresses | % you are working with here? If the ones you want all start with a certain | | [zero] [6:54pm] ~ grep altern .mutt/muttrcc | set

Re: un-alternates?

2002-04-06 Thread Rob 'Feztaa' Park
--s9fJI615cBHmzTOP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Alas! David T-G spake thus: % Use perl or python or egrep of emacs or some of the more modern vi % clones etc. =20 Agreed; a little perl one-liner was what I