[email protected] (Adam Sjøgren) wrote:

> [...]
> If I change the regexp to "\\w\\w\\w" it goes to bugzilla.gdm - but I
> don't fancy (haha) writing an entry for each possible length.

> What am I doing wrong?
> [...]

Nothing, I think :-). I personally don't use fancy split-
ting, but a deeper look at (at least Gnus 5.13's) code seems
to locate the culprit in Emacs' *backward* regular expres-
sion "non-greedity": Position point at the end of
"bugzilla.gdm", C-u C-r "\w+" - et voilà, only one character
is matched.

  I don't understand why the match is performed backward and
not forward, and the code (nnmail-split-it) looks far too
complicated to just flip it around.

Tim


_______________________________________________
info-gnus-english mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to