I'd like to write JavaScript code that runs regular expression engines other than the one built into it and returns the matches.
My goal is to make a website where people can upload a RegEx, specify the engine and have the result shown to them.
After doing some looking I'm pretty sure that such a library doesn't exist, nor is there anything with any interest in running non-JavaScript RegEx. Nor was there for Ruby.
What exactly would this look like? The part that confuses me (not really sure how to begin) is interfacing with non-JavaScript code designed for other programming languages.
Thanks for the help.