Uwe Brauer <[EMAIL PROTECTED]> writes:
(info "(gnus) Fancy Mail Splitting") says
"Normally, VALUE in these splits must match a complete _word_
according to the fundamental mode syntax table. In other words, all
VALUE's will be implicitly surrounded by `\<...\>' markers, which
are word delimiters. [...]
1. You can set the `nnmail-split-fancy-match-partial-words'
variable to non-`nil' in order to ignore word boundaries and
instead the match becomes more like a grep. This variable
controls whether partial words are matched during fancy
splitting. The default value is `nil'. [...]
2. VALUE beginning with `.*' ignores word boundaries in front of a
word. Similarly, if VALUE ends with `.*', word boundaries in the
rear of a word will be ignored. For example, the VALUE
`"@example\\.com"' does not match [EMAIL PROTECTED]' but
`"[EMAIL PROTECTED]"' does. [...]"
> No, I did not try, and I neither understand why
> ("Subject" ".*\\[Using Moodle:\\].*" "Moodle")
>
> does not work. As far as I understand regexp (and I must admit I don't
> understand them very much),
> ".*\\[Using Moodle:\\].*"
> states match anything followed but Using Moodle followed by anything
It matches the string ``[Using Moodle:]'' (including brackets) surrounded
by anything.
--
Johan Bockgård
_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english