Take a plain-text look at the .msg file. Are "Subject" and "from" on the same line? As Msgr.Laurent_R notes, below but prior to creation of this note) and as Corion hinted (before your first, very rude, reply) that may be the issue.

Then please note that to ensure your questions/comments are written so there can be no misunderstanding, put data like those in your various notes INSIDE <c>...</c> TAGS and be careful to make them exact. The lower case "f" in the parent could confuse or discourage those who try to help but are merely scanning the thread to determine whether or not to bother.

And don't bother repeating that you don't "know ho(sic) to address (your flawed logic)": Pope Corion had already told you... and, in any case, such an assertion as you made suggests you're not making any real effort to learn.

This site (Super Search, Tutorials and its published suggestions for raising your questions (On asking for help, How do I post a question effectively? & Markup in the Monastery), the "standard" Perl books (for some mutable value of "standard") such as "Learning Perl" and the wealth of documentation (viz: perldoc perldoc which is available at your own command prompt) have been extremely helpful to some (/me included) who have been in your shoes.

EDIT: changed incorrect "above" to below in para 1.

EDIT 2: And what I really set out to mention, before launching on the diatribe above, was that "You don't need to escape the colon in your regex."


Spirit of the Monastery

Questions containing the words "doesn't work" (or their moral equivalent) will usually get a downvote from me unless accompanied by:
  1. code
  2. verbatim error and/or warning messages
  3. a coherent explanation of what "doesn't work actually means.

In reply to Re^5: Matching multiple patterns with regex by ww
in thread Matching multiple patterns with regex by Tiarcon

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, 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, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.