Fellows
A friend of mine pointed me to a paper published by the ACM that describes a new kind of regular expression engine, that, as far as I understand, is able to match (by the aproximate match technique) hundreds of regular expressions against one text in O( ln( x ) ) (!!!!!). If this is true, I guess we will need to reimplement (or, at least, review) our regular expressions engine.

I'm learning about this and don't know a lot about Approximated Matching, but it seems to be a generalization of the Exact Pattern Match problem (that's Perl's current regular expression engine technique).

I guess this kind of pattern matching is a subproduct from the biology efforts on the Genoma Project and other genetic sequencing projects arround the world, and that this have enough maturity to guarantee a new implementation of a regular expression engine to Perl.

I also googled for and found a handful of papers on the subject of multiple string matching by Gonzalo Navarro, a researcher at the Computer Science Department, University of Chile.

Seems to me that maybe its time to start thinking about a new Regular Expression Engine for Perl, maybe as an add-on extension, so we don't need to break support to old applications. This can help Perl to solve problems faster and simpler, allowing us to solve more with even less code.


In reply to The Dream of a New, Faster Regular Expression Engine by monsieur_champs

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.