Hi,

I would like to know why a regular expression like 
'^(\[[^]]+\] *[Rr][Ee](\[[0-9]+\])?: *)|([Rr][Ee](\[[0-9]+\])?: *\[[^]]+\] 
*)(([Rr][Ee](\[[0-9]+\])?: *)?(\[[^]]+\] *)?)*'
does not work in mutt. I tested it using perl and it worked perfectly
matching the list and the Re: part of the subject.

Explaining the regex above, the 
(([Rr][Ee](\[[0-9]+\])?: *)?(\[[^]]+\] *)?)* part in the final matches
any sequence of Re: and [list]. But I want it to be sure that it doesn't
match just [list] because that would group two messages with the same
subject, with no re: and not related. So I added the other part in the
beginning.

[]s,
Robson

Reply via email to