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).