pan-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pan-users] Select Headers with RE in the Subject/Author Entryfield?


From: Duncan
Subject: Re: [Pan-users] Select Headers with RE in the Subject/Author Entryfield?
Date: Fri, 12 Jun 2015 08:51:57 +0000 (UTC)
User-agent: Pan/0.140 (Chocolate Salty Balls; GIT af87825)

Heinz Mezera posted on Fri, 12 Jun 2015 10:38:23 +0200 as excerpted:

> Hello Duncan,
> 
> back to the start.
> 
> Am Montag, den 08.06.2015, 11:31 +0000 schrieb Duncan:
>> Heinz Mezera posted on Mon, 08 Jun 2015 09:16:22 +0200 as excerpted:
>> 
>> > I'd like to select Headers in the Header-Pan with a regular
>> > expresssion in the Subject/Author field and need your help. Is this
>> > possible and how do I do it.
>> > 
>> > I want to select all headers - starting with three alphabetic
>> > characters - followed by an underscore - two digits after the
>> > underscore - and any number of charcters afterwards.
>> > 
>> > PAN Info:
>> > Pan 0.139 Sexual Chocolate (GIT bf56508 git://git.gnome.org/pan2;
>> > i686-pc-linux-gnu)
>> 
>> ** Note that after changing the search expression, you may have to
>> toggle to something else (say subject), then back to regex, in ordered
>> to get it to "take".  I noticed it would dynamically refilter part of
>> the time, but would appear to stall out and not update without the
>> toggle, sometimes. Given that hint, and the caveat that I tested the
>> components separately but not together, as I didn't have posts handy
>> that matched that specific pattern...
> 
> I clicked on the magnifying glass and changed to (regex) first and
> entered a very simple expression into the searchfield:
> 
> [0-9]
> next I tried [[0-9]]
> next try was ^.*[[0-9]].*$
> 
> to select any header containing a digit, but the result was always an
> empty header pane.
> What is the correct expression to use here?

OK, NOW we're on track! =:^)

This is exactly where that bit about toggling to something else /should/ 
come in, now that you know /where/ to toggle (the search type menu).

Apparently, the regex search function gets "stuck" while you're typing, 
and while it's stuck, nothing shows up, even when the regex then becomes 
valid and something should show up.

So either start with something other than regex, and toggle it to regex 
once you're ready to actually search, or start with regex, and when 
you're done, if it's not showing anything, toggle it to something else, 
and then back to regex.

That should unstick the regex and get the results you expect.  At least 
it did so for me.  (Which is what I was trying to explain all along, 
except I'd lost you way before, as you didn't know about the search type 
toggle at all yet and thus weren't getting regex searches at all, yet.)

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman




reply via email to

[Prev in Thread] Current Thread [Next in Thread]