procmail
[Top] [All Lists]

Re: ISO something in Subject

2004-10-23 08:08:17
Per Jessen wrote:

OK, one more try - how about this one:

"/=\?[^? ]+\?[BbQq]\?[^?]*\?=/" - this time I've even tested it.

But it still doesn't work with sed ... I tested it using php/preg_match().

Maybe the reason it doesn't work with sed is that your version of sed (like most) doesn't honor extended regexps, and it takes the plus sign as a literal plus sign?

Does

/=\?[^? ][^? ]*\?[BbQq]\?[^?]*\?=/

work any better? You can omit the backslashes before the question marks, but if you're used to extended regular expressions, the result will look funny to you.

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>