M
M.L.
Hi. Using the Xref header field of newsgroup messages, I need a regexp
that will allow me to drop all newsgroups in that list containing the
word "general". I need one that works, and to find why the one I created
isn't working.
Example Xref:
Xref: prodigy.net general.soc:449517 chi.general:641065
soc.general.sci:329682 francom.chatting.generale:152591
My regexp attempt passes general.soc (good) but not soc.general (bad) or
chi.general (good):
..*[^(chi\.)(microsoft\.public\.windowsxp\.)]general.*
In short, I want the following newsgroup examples to pass the Xref
filter so they can be dropped:
general.soc
soc.general
soc.general.sci
francom.chatting.generale
I want the following two to fail so they will be retained:
chi.general
microsoft.public.windowsxp.general
Any assistance would be greatly appreciated. Thanks in advance.
that will allow me to drop all newsgroups in that list containing the
word "general". I need one that works, and to find why the one I created
isn't working.
Example Xref:
Xref: prodigy.net general.soc:449517 chi.general:641065
soc.general.sci:329682 francom.chatting.generale:152591
My regexp attempt passes general.soc (good) but not soc.general (bad) or
chi.general (good):
..*[^(chi\.)(microsoft\.public\.windowsxp\.)]general.*
In short, I want the following newsgroup examples to pass the Xref
filter so they can be dropped:
general.soc
soc.general
soc.general.sci
francom.chatting.generale
I want the following two to fail so they will be retained:
chi.general
microsoft.public.windowsxp.general
Any assistance would be greatly appreciated. Thanks in advance.