can you give an example of string it needed to match against? :)
Sure, but off topic I think. It was for using in an .slrn-score file (slrn is the news reader I use). I wanted to give -100 points to posts that where sent to some es.comp.os.linux.* group and to other group outside that hierarchy.
(Yes, it seems it isn't exactly the same regex; in my previous post I copied and pasted from another file). I won't explain the whole file format but roughly, the first line means we're working with messages in e.c.o.l.* groups. The "~Newsgroups" line means that messages whose Newgroups: field didn't match ^es\.comp\.os\.linux would be scored with -100 points (since if they don't match and are in ecol, they are crossposts). Alternatively, the following block says that messages with a Newsgroups: line that matched ^es\.comp\.os\.linux and matched some other thing (for example, Newsgroups: es.comp.os.linux.misc, alt.some.other), would also be scored.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||