This post is basically a review of an emacs-module but since Reviews only covers CPAN and books I'll add it here in meditations, it's a repost from emacs-perl-intersection group!

Hi guys

I gave regex-tool.el a try, it's an interactive regex tester like regex-builder, but can be modfied customized to work with perl.

http://github.com/jwiegley/regex-tool/blob/master/regex-tool.el

The project hasn't been updated for 2 years now, but I like it!

It's a very small but functional module (190 lines incl. docs) which can be easily modified, especially the embedded perlcode!

Furthermore I found a workaround to test just more than a line by just adding a (?x) in the first line.

This makes it an extended regex and you can experiment by simply commenting lines out:

(?x) #multiline #(?i) # do I want it case sensitive? prematch(group) # your regex

Komodo's RegEx tester may look more comfortable, but it runs on Python's PCRE engine not Perl, which may cause special problems!

http://docs.activestate.com/komodo/5.1/tutorial/tourlet_rx.html

Here some nice DHTML tester I found

  • http://osteele.com/tools/rework/
  • http://erik.eae.net/playground/regexp/regexp.html

    Cheers Rolf

    PS: I started to write a PerlRegex to Elisp-Regex converter with regexes only.

    Re^3: [emacs] converting perl regex into elisp regex

    Still needs a decent test-coverage, but looks promising for me. (I'm searching for a good method to run automated tests from perl in emacs)

    Please tell me if you find a bug!

    One of the next versions shall also produce an elisp-version of the converter such that you can use perlsyntax directly from emacs.

  • PS: here another review plus screenshot http://www.newartisans.com/2007/10/a-regular-expression-ide-for-emacs.html


    In reply to [emacs] short review of regex-tool.el by LanX

    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.