Howdy!

Perhaps you've missed the ongoing saga as Tricky asked numerous questions that have led to this thread. He has been given ample reasons why his approach was fatally flawed, but has insisted that he had to go forward anyway. Kind of like the Light Brigade...

If you were not aware of the history ex-thread, you certainly can be forgiven for your reaction.

However, note several things. I only *asked* if he was as dense as it appeared. Subtle, but (in my opinion) important. On my use of "stubborn" and "stupid", I tried to avoid absolute assertions about the character of Tricky, giving him some wiggle room to save face.

On the substance of your note: the full range of HTML markup is sufficiently complex in the right ways as to make parsing it by regular expressions impossible. A full-blown parser is required. I'm not able to explain it in gory details, but I recommend looking over Tricky's past posts to see how this whole meta-thread has developed.

yours,
Michael


In reply to Re: Re: Re: Using a config file in my regexp script. by herveus
in thread Using a config file in my regexp script. by Tricky

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.