You might invite yourself to write a documentation update proposal for perlretut . You seem to know how perlretut should cater the lazy. Oh wait, you are lazy, hmmm... :-)

Anyway, I read perlretut and since I still did not completely understood it, I also read perlrequick, Perl Intro regarding Regular Expressions, PerlFAQ6, Five Habits for Successful Regular Expressions, perlop, split and finally perlre.

This monastery has a lot more to offer in addition, to start with just what is listed in the Tutorials section: String matching and Regular Expressions, Quantifiers in regular expressions, Character Class Abbreviations, Pattern-matching examples, Split and join, Pattern Matching Exercises (and solutions), and more complex tutorials by chromatic, OM_Zen, Cody Pendant, diotalevi and Elian. Abigail-ii wrote numerous insightful nodes about regular expressions.

I should not forget to mention the books Mastering Regular Expressions and Regular Expression Pocket Reference.

And even though I think I don't understand it completely and also I certainly can't remember it all, I do practice it a bit and one day I might answer questions here about it.

I disagree that a referral to /c should be given near the /g info. Regular expressions are so very useful, that though complicated, they deserve close study, and since a lot of information is available for free in quite a readable and understandable manner, reading it will bring you quite some wisdom.


In reply to Re(4): Global regex giving up too soon by woolfy
in thread Global regex giving up too soon by Wassercrats

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.