Interesting, but flawed re regexen and what the writer choses to call "additional shortcuts ...to simplify the creation of regex statements."

For instance, if you are looking for a long string of identical letters, you can just indicate the number of letters in the string, instead typing out each letter. In other words, with the current version of Perl, you'd type "aaaaa" to indicate you are looking for 5 letter a's. In Perl 6, you need type only "a**5." There, the 5 indicates the number of letter a's you seek.
You can also specify ranges with this technique: "y ** 3..5" means you are looking for a string of y's from 3 to 5 characters long.

The base example, "aaaaa" ignores character classes and quantifiers, which is understandable in a brief article aimed as much at a general IT audience as at Perl devs, But for the dev, it raises the question "is the first a**5 somehow different from [a]{5}and y ** 3..5 different from [y]{3,5} in ways other than the number of keystrokes?" (I suspect the answer is "no.")

FWIW, this is not a bash on Perl 6, but that section of the article suggests (for /me; YMMV) that the reporter's understanding of his subject and diligence in crafting the report may be suspect.


In reply to Re: Perl 6 will be the first truly extensible programming language by ww
in thread Perl 6 will be the first truly extensible programming language by marto

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.