You didn't show that you had made any effort to read perlre, which is why I assumed you hadn't read it at all. If you had read it and found it problematic, why didn't you ask specific questions about it?

Also, none of your problems actually need regular expressions. If you found regular expressions an impenetrable topic, other approaches like index would have proved a secondary avenue. But you didn't pursue these either, or at least didn't tell us about it. Why didn't you consider telling us what approaches outside of regular expressions came to mind and why you discarded them?

I'm not sure what else to make of your query other than to find lazyness, because either you didn't bother to tell us what you already tried, or you didn't try anything and didn't phrase your query for directions in a way that told us where you'd been and where to you wanted.

I'm not certain what kind of "open discussion" you want to hold, but if the goal is about furthering your knowledge of Perl, there is a certain amount of interaction that will be necessary, especially with you being forthcoming about the approaches you've tried already. If it is about solving your problems, them being yours makes it your onus to present them in a way that entices us to solve them for you. Alternatively, you have to solve them yourself, which, considering your lackadaisical presentation, is more likely to be the outcome.


In reply to Re^3: Need 2 Regex's by Corion
in thread Need 2 Regex's by BlenderHead

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.