in reply to [emacs] converting perl regex into elisp regex

Have you looked at YAPE::Regex ?
  • Comment on Re: [emacs] converting perl regex into elisp regex

Replies are listed 'Best First'.
Re^2: [emacs] converting perl regex into elisp regex
by LanX (Saint) on Sep 18, 2009 at 03:58 UTC
    well the first thing I found and checked was Regexp::Parser which actually is the successor of YAPE::Regex by the same author.

    But it looks quite complicated ...

    ...OTOH if my own transformation with some regexes work, chances are good to port them easily to elisp (or any other language). 8)

    Cheers Rolf

      which actually is the successor of YAPE::Regex

      Why do you say that? Neither module references the other, and YAPE::Regex was updated two years after Regexp::Parser. Whether one is a replacement for the other or not, that means that only YAPE::Regex has any chance of being able to parse Perl regex patterns (as they exist today).

        This module is designed as a replacement (though not drop-in) for my old YAPE::Regex modules.

        from DESCRIPTION

        Cheers Rolf