"And I would say that most recent languages now come with regular expressions (they may have learned from Perl!); "

Yes, they learned, and still learning. I cannot say for other languages, but with Perl in my mind, when I looked at Java's, I was far from satisfied.

This came to my mind, as there are things I would not like to implement in Perl due to various reasons, but still want regexp that is as powerful as Perl's...

You are right about the performance... Obviously it would be faster to use native regexp ability of the language than to make socket call, unless the regexp in that language has a very poor performance. But if the regexp in other languages cannot deliver what you want, then performance becomes second, and you first want to be able to do it.

Also I expect the call to the server is limited. Put in this way, if a program heavily uses regexp, then I would rather do it in Perl, not something like Java or .Net, thus no call is needed. For those applications left for Java or .Net, regexp is usually not the sole part of it, and you expect only limited calls, the performance impact should be low.


In reply to Re^2: A regexp server in Perl by pg
in thread A regexp server in Perl by pg

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.