Re: Regular expressions

2000-11-04 Thread Patrice Neff
On 04 Nov 2000, Peter Steiner wrote: Strictly speaking, it _is_ correct. If you look what exactly is written in the MIME-munged subject, you see that in front of the 'Ich' is a =A0, which is a 'hard space' (in HTML-speak: nbsp;). So it just looks like too much spaces, but there really is only

Regular expressions

2000-11-03 Thread Patrice Neff
Hi all, I'm using a regular expression for building the reply-subject: | |%Subject="Re: %SetPattRegExp=""(?i)\A\:?((\s*(re|aw|ha|rcpt|fw|fwd|forw|antwort)(\[\d*\])?:\s*)*)(\s*)(.*?)(\s*\z)""%RegExpBlindMatch=""%OSubj""%SubPatt=""6""" (I've found this expression and have optimized it for my