I tried to use rx as a pattern match condition in gnus-posting-styles
and was advised in the emacs irc channel to use something like
rx(or "str1" "str2") to match all strings containing str1 or str2. It
didn't work.
However I did use the output of rx substituted in my gnus-posting style
and it worked:
e.g "\\(?:php\\linux)".
Could someone please explain it to me as I dont see how that matches all
strings containing "php" or "linux".
Before playing with "rx" I had ".*php.*\\|.*linux.*" matching what I wanted.
Here is the corresponding "rx output" gnus-posting-style entry:
(setq gnus-posting-styles
'(
(""\\(?:php\\linux)""
(name "Hadron")(address "[EMAIL PROTECTED]")
)
))
The main question is, however, can I use "rx" directly or not in
gnus-posting-style?
_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english