perlancar posted this after marking the problem solved, adding more info, and the reply just adds more info as well - unless you've found a technical error in it? In any case, no need for the insult.

It appears my insult did not have the intended effect -- you did not review your statement

Sorry about that, I'll try to explain

Your reply seems rude, it wouldn't if you said something like here are some more related links and then not talk about things perlancar knows doesn't know or should or shouldn't do if or if not some condition

Unless I'm missing ...
I'm afraid you won't ...
Yes, the OP already knows this, it was his original question, which he answered, twice now
I believe ...
great, some related technical details (good job)
If you really don't like the two suggestions from perl5140delta, then you might actually want to consider using an older Perl to generate your regex strings.
The OP says he found a solution , that means he likes it

And I conclude my statement with

In any case, no need for the insult.


In reply to Re^8: Dumping regexp for Perl versions earlier than 5.14 by Anonymous Monk
in thread Dumping regexp for Perl versions earlier than 5.14 by perlancar

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.