On 03Apr2012 12:24, m...@raf.org wrote:
| Cameron Simpson wrote:
| > You need double backslashes because two things are happening.
| > [...snip...]
|
| the best computing advice i've ever had was:
| "Double the number of backslashes!"
| - John Mackin
John "Iron Bar" Mackin?
| he didn't even
On Tue, Apr 03, 2012 at 12:24:54PM +1000, m...@raf.org wrote:
> Cameron Simpson wrote:
>
> > You need double backslashes because two things are happening.
> > [...snip...]
>
> the best computing advice i've ever had was:
>
> "Double the number of backslashes!"
> - John Mackin
>
> he didn't
* On 02 Apr 2012, steve wrote:
>
> \\<(e|E)tch\\>
>
> does exactly was I was looking for.
By way of explanation: the catch here is that because of mutt's parsing
rules with quotations, this expression is scanned twice and needs to
have the backslashes themselves escaped. You'll find this often
Cameron Simpson wrote:
> You need double backslashes because two things are happening.
> [...snip...]
the best computing advice i've ever had was:
"Double the number of backslashes!"
- John Mackin
he didn't even know what my problem was when he said it but he was right.
if it doesn't fix y
Dear mutt users,
Thanks for all of your replies.
\\<(e|E)tch\\>
does exactly was I was looking for.
Have a nice day,
Steve
On 02Apr2012 16:16, Gary Johnson wrote:
| On 2012-04-02, steve wrote:
| > I'm trying to write a regexp in order to capture some words to put them
| > in color. I have a line like this in my .muttrc:
| >
| > color body red default
"\|((L|l)enny)|((S|s)queeze)|((S|s)arge)|((P|p)otato)"
[...]
| Tak
steve schrieb am 02.04.2012 um 22:01 (+0200):
>
> I'm trying to write a regexp in order to capture some words to put
> them in color. I have a line like this in my .muttrc:
>
> color body red default
> "\|((L|l)enny)|((S|s)queeze)|((S|s)arge)|((P|p)otato)"
>
> I want to catch only etch, but not
On 2012-04-02, steve wrote:
> Hi,
>
> I'm trying to write a regexp in order to capture some words to put them
> in color. I have a line like this in my .muttrc:
>
> color body red default
> "\|((L|l)enny)|((S|s)queeze)|((S|s)arge)|((P|p)otato)"
>
> I want to catch only etch, but not fetch nor f
Hi,
I'm trying to write a regexp in order to capture some words to put them
in color. I have a line like this in my .muttrc:
color body red default
"\|((L|l)enny)|((S|s)queeze)|((S|s)arge)|((P|p)otato)"
I want to catch only etch, but not fetch nor fetchera (or whatever
combination). So I tried