1

I am looking for a library to test whether two regular expressions are equivalent. Python/interpreted language/Java/C++ is preferred (in descending order). I'm also fine with a CLI program (free if possible, but I don't mind if closed source): my code would give the two regular expression as inputs to the program and the latter would return me False/True or any other clear output that I can automatically process. I mostly use Windows 7 SP1 x64 Utlimate so I would prefer to have a solution compatible with this. Otherwise Linux (no Mac).

  • 1
    I think the linked answer (cf. point 6 on the list) is talking about regular languages. Many regular expression engines also support more than regular languages (due to backtracking etc.). Which regexp features do you need? – ComFreek Jun 14 '14 at 8:36
  • @ComFreek Just basic regular languages would be enough for my current application. If it supports more it can always be useful in the future though, but I don't have any immediate need. – Franck Dernoncourt Jun 16 '14 at 21:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.